#[repr(C)]pub struct nvme_common_command {
pub opcode: __u8,
pub flags: __u8,
pub command_id: __u16,
pub nsid: __le32,
pub cdw2: [__le32; 2],
pub metadata: __le64,
pub dptr: nvme_data_ptr,
pub cdw10: [__le32; 6],
}Fields§
§opcode: __u8§flags: __u8§command_id: __u16§nsid: __le32§cdw2: [__le32; 2]§metadata: __le64§dptr: nvme_data_ptr§cdw10: [__le32; 6]Trait Implementations§
Source§impl Clone for nvme_common_command
impl Clone for nvme_common_command
Source§fn clone(&self) -> nvme_common_command
fn clone(&self) -> nvme_common_command
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 Default for nvme_common_command
impl Default for nvme_common_command
impl Copy for nvme_common_command
Auto Trait Implementations§
impl Freeze for nvme_common_command
impl RefUnwindSafe for nvme_common_command
impl Send for nvme_common_command
impl Sync for nvme_common_command
impl Unpin for nvme_common_command
impl UnwindSafe for nvme_common_command
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