#[repr(C)]pub struct DevPathMsgSata {
pub port: u16,
pub mul_port: u16,
pub lun: u16,
}Fields§
§port: u16§mul_port: u16§lun: u16Trait Implementations§
Source§impl Debug for DevPathMsgSata
impl Debug for DevPathMsgSata
Source§impl FromBytes for DevPathMsgSata
impl FromBytes for DevPathMsgSata
Source§impl FromZeros for DevPathMsgSata
impl FromZeros for DevPathMsgSata
Source§impl IntoBytes for DevPathMsgSata
impl IntoBytes for DevPathMsgSata
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 DevPathMsgSata
impl PartialEq for DevPathMsgSata
Source§impl TryFromBytes for DevPathMsgSatawhere
u16: TryFromBytes,
impl TryFromBytes for DevPathMsgSatawhere
u16: TryFromBytes,
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 DevPathMsgSata
impl StructuralPartialEq for DevPathMsgSata
Auto Trait Implementations§
impl Freeze for DevPathMsgSata
impl RefUnwindSafe for DevPathMsgSata
impl Send for DevPathMsgSata
impl Sync for DevPathMsgSata
impl Unpin for DevPathMsgSata
impl UnwindSafe for DevPathMsgSata
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