#[repr(C)]pub struct nvme_ns_mgmt_args {
pub result: *mut __u32,
pub ns: *mut nvme_id_ns,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub sel: nvme_ns_mgmt_sel,
pub csi: __u8,
pub rsvd1: [__u8; 3],
pub rsvd2: *mut c_void,
pub data: *mut nvme_ns_mgmt_host_sw_specified,
}Expand description
struct nvme_ns_mgmt_args - Arguments for NVMe Namespace Management command @result: NVMe command result @ns: Namespace identification descriptors @args_size: Size of &struct nvme_ns_mgmt_args @fd: File descriptor of nvme device @timeout: Timeout in ms @nsid: Namespace identifier @sel: Type of management operation to perform @csi: Command Set Identifier @rsvd1: Reserved @rsvd2: Reserved @data: Host Software Specified Fields
Fields§
§result: *mut __u32§ns: *mut nvme_id_ns§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§sel: nvme_ns_mgmt_sel§csi: __u8§rsvd1: [__u8; 3]§rsvd2: *mut c_void§data: *mut nvme_ns_mgmt_host_sw_specifiedTrait Implementations§
Source§impl Clone for nvme_ns_mgmt_args
impl Clone for nvme_ns_mgmt_args
Source§fn clone(&self) -> nvme_ns_mgmt_args
fn clone(&self) -> nvme_ns_mgmt_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_ns_mgmt_args
impl Debug for nvme_ns_mgmt_args
Source§impl Default for nvme_ns_mgmt_args
impl Default for nvme_ns_mgmt_args
impl Copy for nvme_ns_mgmt_args
Auto Trait Implementations§
impl Freeze for nvme_ns_mgmt_args
impl RefUnwindSafe for nvme_ns_mgmt_args
impl !Send for nvme_ns_mgmt_args
impl !Sync for nvme_ns_mgmt_args
impl Unpin for nvme_ns_mgmt_args
impl UnsafeUnpin for nvme_ns_mgmt_args
impl UnwindSafe for nvme_ns_mgmt_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