#[repr(transparent)]pub struct AtaPassThruCommandProtocol(pub u8);Expand description
Corresponds to the EFI_ATA_PASS_THRU_PROTOCOL_* defines.
Tuple Fields§
§0: u8Implementations§
Source§impl AtaPassThruCommandProtocol
impl AtaPassThruCommandProtocol
pub const ATA_HARDWARE_RESET: AtaPassThruCommandProtocol
pub const ATA_SOFTWARE_RESET: AtaPassThruCommandProtocol
pub const ATA_NON_DATA: AtaPassThruCommandProtocol
pub const PIO_DATA_IN: AtaPassThruCommandProtocol
pub const PIO_DATA_OUT: AtaPassThruCommandProtocol
pub const DMA: AtaPassThruCommandProtocol
pub const DMA_QUEUED: AtaPassThruCommandProtocol
pub const DEVICE_DIAGNOSTIC: AtaPassThruCommandProtocol
pub const DEVICE_RESET: AtaPassThruCommandProtocol
pub const UDMA_DATA_IN: AtaPassThruCommandProtocol
pub const UDMA_DATA_OUT: AtaPassThruCommandProtocol
pub const FPDMA: AtaPassThruCommandProtocol
pub const RETURN_RESPONSE: AtaPassThruCommandProtocol
Trait Implementations§
Source§impl Clone for AtaPassThruCommandProtocol
impl Clone for AtaPassThruCommandProtocol
Source§fn clone(&self) -> AtaPassThruCommandProtocol
fn clone(&self) -> AtaPassThruCommandProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AtaPassThruCommandProtocol
Source§impl Debug for AtaPassThruCommandProtocol
impl Debug for AtaPassThruCommandProtocol
Source§impl Default for AtaPassThruCommandProtocol
impl Default for AtaPassThruCommandProtocol
Source§fn default() -> AtaPassThruCommandProtocol
fn default() -> AtaPassThruCommandProtocol
Returns the “default value” for a type. Read more
impl Eq for AtaPassThruCommandProtocol
Source§impl Hash for AtaPassThruCommandProtocol
impl Hash for AtaPassThruCommandProtocol
Source§impl Ord for AtaPassThruCommandProtocol
impl Ord for AtaPassThruCommandProtocol
Source§fn cmp(&self, other: &AtaPassThruCommandProtocol) -> Ordering
fn cmp(&self, other: &AtaPassThruCommandProtocol) -> Ordering
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AtaPassThruCommandProtocol
impl PartialEq for AtaPassThruCommandProtocol
Source§impl PartialOrd for AtaPassThruCommandProtocol
impl PartialOrd for AtaPassThruCommandProtocol
impl StructuralPartialEq for AtaPassThruCommandProtocol
Auto Trait Implementations§
impl Freeze for AtaPassThruCommandProtocol
impl RefUnwindSafe for AtaPassThruCommandProtocol
impl Send for AtaPassThruCommandProtocol
impl Sync for AtaPassThruCommandProtocol
impl Unpin for AtaPassThruCommandProtocol
impl UnsafeUnpin for AtaPassThruCommandProtocol
impl UnwindSafe for AtaPassThruCommandProtocol
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)