#[repr(C, packed(1))]pub struct Atapi { /* private fields */ }
Expand description
ATAPI messaging device path node.
Implementations§
source§impl Atapi
impl Atapi
sourcepub fn primary_secondary(&self) -> PrimarySecondary
pub fn primary_secondary(&self) -> PrimarySecondary
Whether the ATAPI device is primary or secondary.
sourcepub fn master_slave(&self) -> MasterSlave
pub fn master_slave(&self) -> MasterSlave
Whether the ATAPI device is master or slave.
sourcepub fn logical_unit_number(&self) -> u16
pub fn logical_unit_number(&self) -> u16
Logical Unit Number (LUN).
Trait Implementations§
source§impl TryFrom<&DevicePathNode> for &Atapi
impl TryFrom<&DevicePathNode> for &Atapi
§type Error = NodeConversionError
type Error = NodeConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Atapi
impl RefUnwindSafe for Atapi
impl Send for Atapi
impl Sync for Atapi
impl Unpin for Atapi
impl UnwindSafe for Atapi
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