#[repr(C)]pub struct nvme_identify_args {
pub result: *mut __u32,
pub data: *mut c_void,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub cns: nvme_identify_cns,
pub csi: nvme_csi,
pub nsid: __u32,
pub cntid: __u16,
pub cns_specific_id: __u16,
pub uuidx: __u8,
}Expand description
struct nvme_identify_args - Arguments for the NVMe Identify command @result: The command completion result from CQE dword0 @data: User space destination address to transfer the data @args_size: Size of &struct nvme_identify_args @fd: File descriptor of nvme device @timeout: Timeout in ms (0 for default timeout) @cns: The Controller or Namespace structure, see @enum nvme_identify_cns @csi: Command Set Identifier @nsid: Namespace identifier, if applicable @cntid: The Controller Identifier, if applicable @cns_specific_id: Identifier that is required for a particular CNS value @uuidx: UUID Index if controller supports this id selection method
Fields§
§result: *mut __u32§data: *mut c_void§args_size: c_int§fd: c_int§timeout: __u32§cns: nvme_identify_cns§csi: nvme_csi§nsid: __u32§cntid: __u16§cns_specific_id: __u16§uuidx: __u8Trait Implementations§
Source§impl Clone for nvme_identify_args
impl Clone for nvme_identify_args
Source§fn clone(&self) -> nvme_identify_args
fn clone(&self) -> nvme_identify_args
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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_identify_args
impl Debug for nvme_identify_args
Source§impl Default for nvme_identify_args
impl Default for nvme_identify_args
impl Copy for nvme_identify_args
Auto Trait Implementations§
impl Freeze for nvme_identify_args
impl RefUnwindSafe for nvme_identify_args
impl !Send for nvme_identify_args
impl !Sync for nvme_identify_args
impl Unpin for nvme_identify_args
impl UnsafeUnpin for nvme_identify_args
impl UnwindSafe for nvme_identify_args
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