#[repr(C)]pub struct nvme_resv_register_args {
pub crkey: __u64,
pub nrkey: __u64,
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub rrega: nvme_resv_rrega,
pub cptpl: nvme_resv_cptpl,
pub iekey: bool,
}Expand description
struct nvme_resv_register_args - Arguments for the NVMe Reservation Register command @crkey: The current reservation key associated with the host @nrkey: The new reservation key to be register if action is register or replace @result: The command completion result from CQE dword0 @args_size: Size of &struct nvme_resv_register_args @fd: File descriptor of nvme device @nsid: Namespace identifier @rrega: The registration action, see &enum nvme_resv_rrega @cptpl: Change persist through power loss, see &enum nvme_resv_cptpl @iekey: Set to ignore the existing key @timeout: Timeout in ms
Fields§
§crkey: __u64§nrkey: __u64§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§rrega: nvme_resv_rrega§cptpl: nvme_resv_cptpl§iekey: boolTrait Implementations§
Source§impl Clone for nvme_resv_register_args
impl Clone for nvme_resv_register_args
Source§fn clone(&self) -> nvme_resv_register_args
fn clone(&self) -> nvme_resv_register_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_resv_register_args
impl Debug for nvme_resv_register_args
Source§impl Default for nvme_resv_register_args
impl Default for nvme_resv_register_args
impl Copy for nvme_resv_register_args
Auto Trait Implementations§
impl Freeze for nvme_resv_register_args
impl RefUnwindSafe for nvme_resv_register_args
impl !Send for nvme_resv_register_args
impl !Sync for nvme_resv_register_args
impl Unpin for nvme_resv_register_args
impl UnsafeUnpin for nvme_resv_register_args
impl UnwindSafe for nvme_resv_register_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