Struct erdnuss_comms::frame_pool::SendFrameBox
source · pub struct SendFrameBox { /* private fields */ }Expand description
SendFrameBox represent a message to be sent over the wire.
Unlike WireFrameBox, it does NOT have a valid CmdAddr, which is assigned at sending time.
Implementations§
source§impl SendFrameBox
impl SendFrameBox
sourcepub fn payload_mut(&mut self) -> &mut [u8]
pub fn payload_mut(&mut self) -> &mut [u8]
Mutably borrow the payload
sourcepub fn into_inner(self) -> FrameBox
pub fn into_inner(self) -> FrameBox
Deconstruct the SendFrameBox
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SendFrameBox
impl Send for SendFrameBox
impl !Sync for SendFrameBox
impl Unpin for SendFrameBox
impl UnwindSafe for SendFrameBox
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