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