Lines Matching refs:MsgParcel
15 use super::msg::MsgParcel;
22 /// use ipc::parcel::{MsgParcel, Serialize};
31 /// fn serialize(&self, parcel: &mut MsgParcel) -> IpcResult<()> {
39 /// serialize and write into MsgParcel
40 fn serialize(&self, parcel: &mut MsgParcel) -> IpcResult<()>;
49 /// use ipc::parcel::{Deserialize, MsgParcel};
58 /// fn deserialize(parcel: &mut MsgParcel) -> IpcResult<Self> {
66 /// Deserialize and read out from MsgParcel.
67 fn deserialize(parcel: &mut MsgParcel) -> IpcResult<Self>;
74 fn serialize(&self, parcel: &mut MsgParcel) -> IpcResult<()> {
85 fn deserialize(parcel: &mut MsgParcel) -> IpcResult<Self> {
98 use crate::parcel::MsgParcel;
110 /// 2. Write this type to the MsgParcel and then read it out, check the
115 fn serialize(&self, parcel: &mut crate::parcel::MsgParcel) -> crate::IpcResult<()> {
121 let mut msg = MsgParcel::new();
136 /// 2. Write this type to the MsgParcel and then read it out, check the
141 fn deserialize(parcel: &mut MsgParcel) -> crate::IpcResult<Self> {
148 let mut msg = MsgParcel::new();