pub struct Payload { /* private fields */ }Available on crate feature
link only.Expand description
One delivered application payload, held in the datagram it arrived in: the bytes from
Payload::start on. A host that hands payloads on as shared buffers takes the datagram and
the offset with Payload::into_parts and slices it, without a copy.
Implementations§
Trait Implementations§
impl Eq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Forget for Payload
impl Freeze for Payload
impl Move for Payload
impl RefUnwindSafe for Payload
impl Send for Payloadwhere
RawVecInner: Send,
impl Sync for Payloadwhere
RawVecInner: Sync,
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payloadwhere
RawVecInner: UnwindSafe,
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