pub struct RxMessage<'a, Handle: Copy> {
pub header: Header<Handle>,
pub segment_size: usize,
pub payload: &'a mut [u8],
}Fields§
§header: Header<Handle>The received header for the message
segment_size: usizeThe number of segments inside the message
payload: &'a mut [u8]The full payload of the message
Implementations§
Auto Trait Implementations§
impl<'a, Handle> Freeze for RxMessage<'a, Handle>where
Handle: Freeze,
impl<'a, Handle> RefUnwindSafe for RxMessage<'a, Handle>where
Handle: RefUnwindSafe,
impl<'a, Handle> Send for RxMessage<'a, Handle>where
Handle: Send,
impl<'a, Handle> Sync for RxMessage<'a, Handle>where
Handle: Sync,
impl<'a, Handle> Unpin for RxMessage<'a, Handle>where
Handle: Unpin,
impl<'a, Handle> !UnwindSafe for RxMessage<'a, Handle>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more