#[repr(C)]pub struct nvme_dim_args {
pub result: *mut __u32,
pub data: *mut c_void,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub data_len: __u32,
pub tas: __u8,
}Expand description
struct nvme_dim_args - Arguments for the Discovery Information Management (DIM) command @result: Set on completion to the command’s CQE DWORD 0 controller response. @data: Pointer to the DIM data @args_size: Length of the structure @fd: File descriptor of nvme device @timeout: Timeout in ms @data_len: Length of @data @tas: Task field of the Command Dword 10 (cdw10)
Fields§
§result: *mut __u32§data: *mut c_void§args_size: c_int§fd: c_int§timeout: __u32§data_len: __u32§tas: __u8Trait Implementations§
Source§impl Clone for nvme_dim_args
impl Clone for nvme_dim_args
Source§fn clone(&self) -> nvme_dim_args
fn clone(&self) -> nvme_dim_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_dim_args
impl Debug for nvme_dim_args
Source§impl Default for nvme_dim_args
impl Default for nvme_dim_args
impl Copy for nvme_dim_args
Auto Trait Implementations§
impl Freeze for nvme_dim_args
impl RefUnwindSafe for nvme_dim_args
impl !Send for nvme_dim_args
impl !Sync for nvme_dim_args
impl Unpin for nvme_dim_args
impl UnsafeUnpin for nvme_dim_args
impl UnwindSafe for nvme_dim_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