#[repr(C)]pub struct nvme_sanitize_nvm_args {
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub sanact: nvme_sanitize_sanact,
pub ovrpat: __u32,
pub ause: bool,
pub owpass: __u8,
pub oipbp: bool,
pub nodas: bool,
pub emvs: bool,
}Expand description
struct nvme_sanitize_nvm_args - Arguments for the NVMe Sanitize NVM command @result: The command completion result from CQE dword0 @args_size: Size of &struct nvme_sanitize_nvm_args @fd: File descriptor of nvme device @timeout: Timeout in ms @ovrpat: Overwrite pattern @sanact: Sanitize action, see &enum nvme_sanitize_sanact @ause: Set to allow unrestricted sanitize exit @owpass: Overwrite pass count @oipbp: Set to overwrite invert pattern between passes @nodas: Set to not deallocate blocks after sanitizing @emvs: Set to enter media verification state
Fields§
§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§sanact: nvme_sanitize_sanact§ovrpat: __u32§ause: bool§owpass: __u8§oipbp: bool§nodas: bool§emvs: boolTrait Implementations§
Source§impl Clone for nvme_sanitize_nvm_args
impl Clone for nvme_sanitize_nvm_args
Source§fn clone(&self) -> nvme_sanitize_nvm_args
fn clone(&self) -> nvme_sanitize_nvm_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_sanitize_nvm_args
impl Debug for nvme_sanitize_nvm_args
Source§impl Default for nvme_sanitize_nvm_args
impl Default for nvme_sanitize_nvm_args
impl Copy for nvme_sanitize_nvm_args
Auto Trait Implementations§
impl Freeze for nvme_sanitize_nvm_args
impl RefUnwindSafe for nvme_sanitize_nvm_args
impl !Send for nvme_sanitize_nvm_args
impl !Sync for nvme_sanitize_nvm_args
impl Unpin for nvme_sanitize_nvm_args
impl UnsafeUnpin for nvme_sanitize_nvm_args
impl UnwindSafe for nvme_sanitize_nvm_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