#[repr(C)]pub struct nvme_security_receive_args {
pub result: *mut __u32,
pub data: *mut c_void,
pub args_size: c_int,
pub fd: c_int,
pub timeout: __u32,
pub nsid: __u32,
pub al: __u32,
pub data_len: __u32,
pub nssf: __u8,
pub spsp0: __u8,
pub spsp1: __u8,
pub secp: __u8,
}Expand description
struct nvme_security_receive_args - Arguments for the NVMe Security Receive command @result: The command completion result from CQE dword0 @data: Security data payload to send @args_size: Size of &struct nvme_security_receive_args @fd: File descriptor of nvme device @timeout: Timeout in ms @nsid: Namespace ID to issue security command on @al: Protocol specific allocation length @data_len: Data length of the payload in bytes @nssf: NVMe Security Specific field @spsp0: Security Protocol Specific field @spsp1: Security Protocol Specific field @secp: Security Protocol
Fields§
§result: *mut __u32§data: *mut c_void§args_size: c_int§fd: c_int§timeout: __u32§nsid: __u32§al: __u32§data_len: __u32§nssf: __u8§spsp0: __u8§spsp1: __u8§secp: __u8Trait Implementations§
Source§impl Clone for nvme_security_receive_args
impl Clone for nvme_security_receive_args
Source§fn clone(&self) -> nvme_security_receive_args
fn clone(&self) -> nvme_security_receive_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_security_receive_args
impl Debug for nvme_security_receive_args
Source§impl Default for nvme_security_receive_args
impl Default for nvme_security_receive_args
impl Copy for nvme_security_receive_args
Auto Trait Implementations§
impl Freeze for nvme_security_receive_args
impl RefUnwindSafe for nvme_security_receive_args
impl !Send for nvme_security_receive_args
impl !Sync for nvme_security_receive_args
impl Unpin for nvme_security_receive_args
impl UnsafeUnpin for nvme_security_receive_args
impl UnwindSafe for nvme_security_receive_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