#[repr(C)]pub struct nvme_resv_release_args {
pub crkey: __u64,
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub rtype: nvme_resv_rtype,
pub rrela: nvme_resv_rrela,
pub iekey: bool,
}Expand description
struct nvme_resv_release_args - Arguments for the NVMe Reservation Release Command @crkey: The current reservation key to release @result: The command completion result from CQE dword0 @args_size: Size of &struct nvme_resv_release_args @fd: File descriptor of nvme device @timeout: Timeout in ms @nsid: Namespace identifier @rtype: The type of reservation to be create, see &enum nvme_resv_rtype @rrela: Reservation release action, see &enum nvme_resv_rrela @iekey: Set to ignore the existing key
Fields§
§crkey: __u64§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§rtype: nvme_resv_rtype§rrela: nvme_resv_rrela§iekey: boolTrait Implementations§
Source§impl Clone for nvme_resv_release_args
impl Clone for nvme_resv_release_args
Source§fn clone(&self) -> nvme_resv_release_args
fn clone(&self) -> nvme_resv_release_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_release_args
impl Debug for nvme_resv_release_args
Source§impl Default for nvme_resv_release_args
impl Default for nvme_resv_release_args
impl Copy for nvme_resv_release_args
Auto Trait Implementations§
impl Freeze for nvme_resv_release_args
impl RefUnwindSafe for nvme_resv_release_args
impl !Send for nvme_resv_release_args
impl !Sync for nvme_resv_release_args
impl Unpin for nvme_resv_release_args
impl UnsafeUnpin for nvme_resv_release_args
impl UnwindSafe for nvme_resv_release_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