pub struct PayloadInfo<'a> {
pub seq: SequenceCount,
pub flags: SequenceFlag,
pub target: Address,
pub payload: &'a [u8],
}Expand description
Information about a buffered packet’s payload and metadata.
Fields§
§seq: SequenceCountSequence number of the packet.
flags: SequenceFlagSegmentation flags for this packet.
target: AddressDestination address for this packet.
payload: &'a [u8]Payload data bytes.
Auto Trait Implementations§
impl<'a> Freeze for PayloadInfo<'a>
impl<'a> RefUnwindSafe for PayloadInfo<'a>
impl<'a> Send for PayloadInfo<'a>
impl<'a> Sync for PayloadInfo<'a>
impl<'a> Unpin for PayloadInfo<'a>
impl<'a> UnsafeUnpin for PayloadInfo<'a>
impl<'a> UnwindSafe for PayloadInfo<'a>
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