#[repr(C)]pub struct nvme_virtual_mgmt_args {
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub act: nvme_virt_mgmt_act,
pub rt: nvme_virt_mgmt_rt,
pub cntlid: __u16,
pub nr: __u16,
}Expand description
struct nvme_virtual_mgmt_args - Arguments for the NVMe Virtualization resource management command @args_size: Size of &struct nvme_virtual_mgmt_args @fd: File descriptor of nvme device @result: If successful, the CQE dword0 @timeout: Timeout in ms @act: Virtual resource action, see &enum nvme_virt_mgmt_act @rt: Resource type to modify, see &enum nvme_virt_mgmt_rt @cntlid: Controller id for which resources are bing modified @nr: Number of resources being allocated or assigned
Fields§
§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§act: nvme_virt_mgmt_act§rt: nvme_virt_mgmt_rt§cntlid: __u16§nr: __u16Trait Implementations§
Source§impl Clone for nvme_virtual_mgmt_args
impl Clone for nvme_virtual_mgmt_args
Source§fn clone(&self) -> nvme_virtual_mgmt_args
fn clone(&self) -> nvme_virtual_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_virtual_mgmt_args
impl Debug for nvme_virtual_mgmt_args
Source§impl Default for nvme_virtual_mgmt_args
impl Default for nvme_virtual_mgmt_args
impl Copy for nvme_virtual_mgmt_args
Auto Trait Implementations§
impl Freeze for nvme_virtual_mgmt_args
impl RefUnwindSafe for nvme_virtual_mgmt_args
impl !Send for nvme_virtual_mgmt_args
impl !Sync for nvme_virtual_mgmt_args
impl Unpin for nvme_virtual_mgmt_args
impl UnsafeUnpin for nvme_virtual_mgmt_args
impl UnwindSafe for nvme_virtual_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