#[repr(C)]pub struct nvme_passthru_cmd64 {Show 19 fields
pub opcode: c_uchar,
pub flags: c_uchar,
pub rsvd1: c_ushort,
pub nsid: c_uint,
pub cdw2: c_uint,
pub cdw3: c_uint,
pub metadata: c_ulonglong,
pub addr: c_ulonglong,
pub metadata_len: c_uint,
pub data_len: c_uint,
pub cdw10: c_uint,
pub cdw11: c_uint,
pub cdw12: c_uint,
pub cdw13: c_uint,
pub cdw14: c_uint,
pub cdw15: c_uint,
pub timeout_ms: c_uint,
pub rsvd2: c_uint,
pub result: c_uint,
}Fields§
§opcode: c_uchar§flags: c_uchar§rsvd1: c_ushort§nsid: c_uint§cdw2: c_uint§cdw3: c_uint§metadata: c_ulonglong§addr: c_ulonglong§metadata_len: c_uint§data_len: c_uint§cdw10: c_uint§cdw11: c_uint§cdw12: c_uint§cdw13: c_uint§cdw14: c_uint§cdw15: c_uint§timeout_ms: c_uint§rsvd2: c_uint§result: c_uintTrait Implementations§
Source§impl Clone for nvme_passthru_cmd64
impl Clone for nvme_passthru_cmd64
Source§fn clone(&self) -> nvme_passthru_cmd64
fn clone(&self) -> nvme_passthru_cmd64
Returns a duplicate 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_cmd64
impl Debug for nvme_passthru_cmd64
Source§impl Default for nvme_passthru_cmd64
impl Default for nvme_passthru_cmd64
Source§fn default() -> nvme_passthru_cmd64
fn default() -> nvme_passthru_cmd64
Returns the “default value” for a type. Read more
Source§impl PartialEq for nvme_passthru_cmd64
impl PartialEq for nvme_passthru_cmd64
impl Copy for nvme_passthru_cmd64
impl Eq for nvme_passthru_cmd64
impl StructuralPartialEq for nvme_passthru_cmd64
Auto Trait Implementations§
impl Freeze for nvme_passthru_cmd64
impl RefUnwindSafe for nvme_passthru_cmd64
impl Send for nvme_passthru_cmd64
impl Sync for nvme_passthru_cmd64
impl Unpin for nvme_passthru_cmd64
impl UnwindSafe for nvme_passthru_cmd64
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