#[repr(C)]pub struct nvme_dsm_args {
pub result: *mut __u32,
pub dsm: *mut nvme_dsm_range,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub attrs: __u32,
pub nr_ranges: __u16,
}Expand description
struct nvme_dsm_args - Arguments for the NVMe Dataset Management command @result: The command completion result from CQE dword0 @dsm: The data set management attributes @args_size: Size of &struct nvme_dsm_args @fd: File descriptor of nvme device @timeout: Timeout in ms @nsid: Namespace identifier @attrs: DSM attributes, see &enum nvme_dsm_attributes @nr_ranges: Number of block ranges in the data set management attributes
Fields§
§result: *mut __u32§dsm: *mut nvme_dsm_range§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§attrs: __u32§nr_ranges: __u16Trait Implementations§
Source§impl Clone for nvme_dsm_args
impl Clone for nvme_dsm_args
Source§fn clone(&self) -> nvme_dsm_args
fn clone(&self) -> nvme_dsm_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_dsm_args
impl Debug for nvme_dsm_args
Source§impl Default for nvme_dsm_args
impl Default for nvme_dsm_args
impl Copy for nvme_dsm_args
Auto Trait Implementations§
impl Freeze for nvme_dsm_args
impl RefUnwindSafe for nvme_dsm_args
impl !Send for nvme_dsm_args
impl !Sync for nvme_dsm_args
impl Unpin for nvme_dsm_args
impl UnsafeUnpin for nvme_dsm_args
impl UnwindSafe for nvme_dsm_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