Struct linux_nvme_sys::nvme_passthru_cmd
source · #[repr(C)]pub struct nvme_passthru_cmd {Show 18 fields
pub opcode: __u8,
pub flags: __u8,
pub rsvd1: __u16,
pub nsid: __u32,
pub cdw2: __u32,
pub cdw3: __u32,
pub metadata: __u64,
pub addr: __u64,
pub metadata_len: __u32,
pub data_len: __u32,
pub cdw10: __u32,
pub cdw11: __u32,
pub cdw12: __u32,
pub cdw13: __u32,
pub cdw14: __u32,
pub cdw15: __u32,
pub timeout_ms: __u32,
pub result: __u32,
}
Fields§
§opcode: __u8
§flags: __u8
§rsvd1: __u16
§nsid: __u32
§cdw2: __u32
§cdw3: __u32
§metadata: __u64
§addr: __u64
§metadata_len: __u32
§data_len: __u32
§cdw10: __u32
§cdw11: __u32
§cdw12: __u32
§cdw13: __u32
§cdw14: __u32
§cdw15: __u32
§timeout_ms: __u32
§result: __u32
Trait Implementations§
source§impl Clone for nvme_passthru_cmd
impl Clone for nvme_passthru_cmd
source§fn clone(&self) -> nvme_passthru_cmd
fn clone(&self) -> nvme_passthru_cmd
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_passthru_cmd
impl Debug for nvme_passthru_cmd
source§impl Default for nvme_passthru_cmd
impl Default for nvme_passthru_cmd
source§fn default() -> nvme_passthru_cmd
fn default() -> nvme_passthru_cmd
Returns the “default value” for a type. Read more
source§impl PartialEq<nvme_passthru_cmd> for nvme_passthru_cmd
impl PartialEq<nvme_passthru_cmd> for nvme_passthru_cmd
source§fn eq(&self, other: &nvme_passthru_cmd) -> bool
fn eq(&self, other: &nvme_passthru_cmd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nvme_passthru_cmd
impl Eq for nvme_passthru_cmd
impl StructuralEq for nvme_passthru_cmd
impl StructuralPartialEq for nvme_passthru_cmd
Auto Trait Implementations§
impl RefUnwindSafe for nvme_passthru_cmd
impl Send for nvme_passthru_cmd
impl Sync for nvme_passthru_cmd
impl Unpin for nvme_passthru_cmd
impl UnwindSafe for nvme_passthru_cmd
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