pub struct RpcFrame {
pub header: VarHeader,
pub body: Vec<u8>,
}
Expand description
A single postcard-rpc frame
Fields§
§header: VarHeader
The wire header
body: Vec<u8>
The serialized message payload
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RpcFrame
impl RefUnwindSafe for RpcFrame
impl Send for RpcFrame
impl Sync for RpcFrame
impl Unpin for RpcFrame
impl UnwindSafe for RpcFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more