pub struct Ufs {
pub target_id: u8,
pub logical_unit_number: u8,
}
Expand description
Universal Flash Storage (UFS) messaging device path node.
Fields§
§target_id: u8
Target ID on the UFS interface (PUN).
logical_unit_number: u8
Logical Unit Number (LUN).
Trait Implementations§
source§impl BuildNode for Ufs
impl BuildNode for Ufs
source§fn size_in_bytes(&self) -> Result<u16, BuildError>
fn size_in_bytes(&self) -> Result<u16, BuildError>
Size of the node in bytes, including the standard node
header. Returns
BuildError::NodeTooBig
if the node’s size
does not fit in a u16
.source§fn write_data(&self, out: &mut [MaybeUninit<u8>])
fn write_data(&self, out: &mut [MaybeUninit<u8>])
Write out the node data. Read more
Auto Trait Implementations§
impl Freeze for Ufs
impl RefUnwindSafe for Ufs
impl Send for Ufs
impl Sync for Ufs
impl Unpin for Ufs
impl UnwindSafe for Ufs
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