#[repr(C)]pub struct DevPathMsgMac {
pub mac: [u8; 32],
pub iftype: u8,
}Fields§
§mac: [u8; 32]§iftype: u8Trait Implementations§
Source§impl Debug for DevPathMsgMac
impl Debug for DevPathMsgMac
Source§impl FromBytes for DevPathMsgMac
impl FromBytes for DevPathMsgMac
Source§impl FromZeros for DevPathMsgMac
impl FromZeros for DevPathMsgMac
Source§impl IntoBytes for DevPathMsgMac
impl IntoBytes for DevPathMsgMac
Source§fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for DevPathMsgMac
impl PartialEq for DevPathMsgMac
Source§impl TryFromBytes for DevPathMsgMac
impl TryFromBytes for DevPathMsgMac
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for DevPathMsgMac
impl StructuralPartialEq for DevPathMsgMac
Auto Trait Implementations§
impl Freeze for DevPathMsgMac
impl RefUnwindSafe for DevPathMsgMac
impl Send for DevPathMsgMac
impl Sync for DevPathMsgMac
impl Unpin for DevPathMsgMac
impl UnwindSafe for DevPathMsgMac
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