#[repr(C)]pub struct nvme_lockdown_args {
pub result: *mut __u32,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub scp: __u8,
pub prhbt: __u8,
pub ifc: __u8,
pub ofi: __u8,
pub uuidx: __u8,
}Expand description
struct nvme_lockdown_args - Arguments for the NVME Lockdown command @args_size: Size of &struct nvme_lockdown_args @fd: File descriptor of nvme device @result: The command completion result from CQE dword0 @timeout: Timeout in ms (0 for default timeout) @scp: Scope of the command @prhbt: Prohibit or allow the command opcode or Set Features command @ifc: Affected interface @ofi: Opcode or Feature Identifier @uuidx: UUID Index if controller supports this id selection method
Fields§
§result: *mut __u32§args_size: c_int§fd: c_int§timeout: __u32§scp: __u8§prhbt: __u8§ifc: __u8§ofi: __u8§uuidx: __u8Trait Implementations§
Source§impl Clone for nvme_lockdown_args
impl Clone for nvme_lockdown_args
Source§fn clone(&self) -> nvme_lockdown_args
fn clone(&self) -> nvme_lockdown_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_lockdown_args
impl Debug for nvme_lockdown_args
Source§impl Default for nvme_lockdown_args
impl Default for nvme_lockdown_args
impl Copy for nvme_lockdown_args
Auto Trait Implementations§
impl Freeze for nvme_lockdown_args
impl RefUnwindSafe for nvme_lockdown_args
impl !Send for nvme_lockdown_args
impl !Sync for nvme_lockdown_args
impl Unpin for nvme_lockdown_args
impl UnsafeUnpin for nvme_lockdown_args
impl UnwindSafe for nvme_lockdown_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