pub struct PacketHeaderConnlessPacked { /* private fields */ }Implementations§
Source§impl PacketHeaderConnlessPacked
impl PacketHeaderConnlessPacked
pub fn unpack_warn<W: Warn<Warning>>(self, warn: &mut W) -> PacketHeaderConnless
pub fn unpack(self) -> PacketHeaderConnless
Trait Implementations§
Source§impl AsBytes for PacketHeaderConnlessPacked
impl AsBytes for PacketHeaderConnlessPacked
Source§impl Clone for PacketHeaderConnlessPacked
impl Clone for PacketHeaderConnlessPacked
Source§fn clone(&self) -> PacketHeaderConnlessPacked
fn clone(&self) -> PacketHeaderConnlessPacked
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromBytes for PacketHeaderConnlessPacked
impl FromBytes for PacketHeaderConnlessPacked
Source§fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
Source§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreimpl Copy for PacketHeaderConnlessPacked
Auto Trait Implementations§
impl Freeze for PacketHeaderConnlessPacked
impl RefUnwindSafe for PacketHeaderConnlessPacked
impl Send for PacketHeaderConnlessPacked
impl Sync for PacketHeaderConnlessPacked
impl Unpin for PacketHeaderConnlessPacked
impl UnsafeUnpin for PacketHeaderConnlessPacked
impl UnwindSafe for PacketHeaderConnlessPacked
Blanket Implementations§
Source§impl<T> AsBytesExt for T
impl<T> AsBytesExt for T
fn as_byte_array(&self) -> &Self::ByteArray
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