#[repr(transparent)]pub struct NvmExpressQueueType(pub u8);Expand description
Type of queues an NVMe command can be placed into (Which queue a command should be placed into depends on the command)
Tuple Fields§
§0: u8Implementations§
Source§impl NvmExpressQueueType
impl NvmExpressQueueType
Sourcepub const ADMIN: NvmExpressQueueType
pub const ADMIN: NvmExpressQueueType
Admin Submission Queue
Sourcepub const IO: NvmExpressQueueType
pub const IO: NvmExpressQueueType
- I/O Submission Queue
Trait Implementations§
Source§impl Clone for NvmExpressQueueType
impl Clone for NvmExpressQueueType
Source§fn clone(&self) -> NvmExpressQueueType
fn clone(&self) -> NvmExpressQueueType
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 NvmExpressQueueType
Source§impl Debug for NvmExpressQueueType
impl Debug for NvmExpressQueueType
Source§impl Default for NvmExpressQueueType
impl Default for NvmExpressQueueType
Source§fn default() -> NvmExpressQueueType
fn default() -> NvmExpressQueueType
Returns the “default value” for a type. Read more
impl Eq for NvmExpressQueueType
Source§impl Hash for NvmExpressQueueType
impl Hash for NvmExpressQueueType
Source§impl Ord for NvmExpressQueueType
impl Ord for NvmExpressQueueType
Source§fn cmp(&self, other: &NvmExpressQueueType) -> Ordering
fn cmp(&self, other: &NvmExpressQueueType) -> 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 NvmExpressQueueType
impl PartialEq for NvmExpressQueueType
Source§impl PartialOrd for NvmExpressQueueType
impl PartialOrd for NvmExpressQueueType
impl StructuralPartialEq for NvmExpressQueueType
Auto Trait Implementations§
impl Freeze for NvmExpressQueueType
impl RefUnwindSafe for NvmExpressQueueType
impl Send for NvmExpressQueueType
impl Sync for NvmExpressQueueType
impl Unpin for NvmExpressQueueType
impl UnsafeUnpin for NvmExpressQueueType
impl UnwindSafe for NvmExpressQueueType
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)