#[repr(C)]pub struct nvme_get_discovery_args {
pub c: nvme_ctrl_t,
pub args_size: c_int,
pub max_retries: c_int,
pub result: *mut __u32,
pub timeout: __u32,
pub lsp: __u8,
}Expand description
struct nvme_get_discovery_args - Arguments for nvmf_get_discovery_wargs() @c: Discovery controller @args_size: Length of the structure @max_retries: Number of retries in case of failure @result: The command completion result from CQE dword0 @timeout: Timeout in ms (default: NVME_DEFAULT_IOCTL_TIMEOUT) @lsp: Log specific field (See enum nvmf_log_discovery_lsp)
Fields§
§c: nvme_ctrl_t§args_size: c_int§max_retries: c_int§result: *mut __u32§timeout: __u32§lsp: __u8Trait Implementations§
Source§impl Clone for nvme_get_discovery_args
impl Clone for nvme_get_discovery_args
Source§fn clone(&self) -> nvme_get_discovery_args
fn clone(&self) -> nvme_get_discovery_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_get_discovery_args
impl Debug for nvme_get_discovery_args
Source§impl Default for nvme_get_discovery_args
impl Default for nvme_get_discovery_args
impl Copy for nvme_get_discovery_args
Auto Trait Implementations§
impl Freeze for nvme_get_discovery_args
impl RefUnwindSafe for nvme_get_discovery_args
impl !Send for nvme_get_discovery_args
impl !Sync for nvme_get_discovery_args
impl Unpin for nvme_get_discovery_args
impl UnsafeUnpin for nvme_get_discovery_args
impl UnwindSafe for nvme_get_discovery_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