#[repr(C)]pub struct nvme_set_property_args {
pub value: __u64,
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub offset: c_int,
}Expand description
struct nvme_set_property_args - Arguments for NVMe Set Property command @args_size: Size of &struct nvme_set_property_args @fd: File descriptor of nvme device @result: The command completion result from CQE dword0 @timeout: Timeout in ms @offset: Property offset from the base to set @value: The value to set the property
Fields§
§value: __u64§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§offset: c_intTrait Implementations§
Source§impl Clone for nvme_set_property_args
impl Clone for nvme_set_property_args
Source§fn clone(&self) -> nvme_set_property_args
fn clone(&self) -> nvme_set_property_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_set_property_args
impl Debug for nvme_set_property_args
Source§impl Default for nvme_set_property_args
impl Default for nvme_set_property_args
impl Copy for nvme_set_property_args
Auto Trait Implementations§
impl Freeze for nvme_set_property_args
impl RefUnwindSafe for nvme_set_property_args
impl !Send for nvme_set_property_args
impl !Sync for nvme_set_property_args
impl Unpin for nvme_set_property_args
impl UnsafeUnpin for nvme_set_property_args
impl UnwindSafe for nvme_set_property_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