Struct linux_nvme_sys::nvme_user_io
source · #[repr(C)]pub struct nvme_user_io {
pub opcode: __u8,
pub flags: __u8,
pub control: __u16,
pub nblocks: __u16,
pub rsvd: __u16,
pub metadata: __u64,
pub addr: __u64,
pub slba: __u64,
pub dsmgmt: __u32,
pub reftag: __u32,
pub apptag: __u16,
pub appmask: __u16,
}
Fields§
§opcode: __u8
§flags: __u8
§control: __u16
§nblocks: __u16
§rsvd: __u16
§metadata: __u64
§addr: __u64
§slba: __u64
§dsmgmt: __u32
§reftag: __u32
§apptag: __u16
§appmask: __u16
Trait Implementations§
source§impl Clone for nvme_user_io
impl Clone for nvme_user_io
source§fn clone(&self) -> nvme_user_io
fn clone(&self) -> nvme_user_io
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nvme_user_io
impl Debug for nvme_user_io
source§impl Default for nvme_user_io
impl Default for nvme_user_io
source§fn default() -> nvme_user_io
fn default() -> nvme_user_io
Returns the “default value” for a type. Read more
source§impl PartialEq<nvme_user_io> for nvme_user_io
impl PartialEq<nvme_user_io> for nvme_user_io
source§fn eq(&self, other: &nvme_user_io) -> bool
fn eq(&self, other: &nvme_user_io) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nvme_user_io
impl Eq for nvme_user_io
impl StructuralEq for nvme_user_io
impl StructuralPartialEq for nvme_user_io
Auto Trait Implementations§
impl RefUnwindSafe for nvme_user_io
impl Send for nvme_user_io
impl Sync for nvme_user_io
impl Unpin for nvme_user_io
impl UnwindSafe for nvme_user_io
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