Skip to main content

nvme_fabrics_config

Struct nvme_fabrics_config 

Source
#[repr(C)]
pub struct nvme_fabrics_config {
Show 20 fields pub host_traddr: *mut c_char, pub host_iface: *mut c_char, pub queue_size: c_int, pub nr_io_queues: c_int, pub reconnect_delay: c_int, pub ctrl_loss_tmo: c_int, pub fast_io_fail_tmo: c_int, pub keep_alive_tmo: c_int, pub nr_write_queues: c_int, pub nr_poll_queues: c_int, pub tos: c_int, pub keyring: c_long, pub tls_key: c_long, pub tls_configured_key: c_long, pub duplicate_connect: bool, pub disable_sqflow: bool, pub hdr_digest: bool, pub data_digest: bool, pub tls: bool, pub concat: bool,
}
Expand description

struct nvme_fabrics_config - Defines all linux nvme fabrics initiator options @host_traddr: Host transport address @host_iface: Host interface name @queue_size: Number of IO queue entries @nr_io_queues: Number of controller IO queues to establish @reconnect_delay: Time between two consecutive reconnect attempts. @ctrl_loss_tmo: Override the default controller reconnect attempt timeout in seconds @fast_io_fail_tmo: Set the fast I/O fail timeout in seconds. @keep_alive_tmo: Override the default keep-alive-timeout to this value in seconds @nr_write_queues: Number of queues to use for exclusively for writing @nr_poll_queues: Number of queues to reserve for polling completions @tos: Type of service @keyring: Keyring to store and lookup keys @tls_key: TLS PSK for the connection @tls_configured_key: TLS PSK for connect command for the connection @duplicate_connect: Allow multiple connections to the same target @disable_sqflow: Disable controller sq flow control @hdr_digest: Generate/verify header digest (TCP) @data_digest: Generate/verify data digest (TCP) @tls: Start TLS on the connection (TCP) @concat: Enable secure concatenation (TCP)

Fields§

§host_traddr: *mut c_char§host_iface: *mut c_char§queue_size: c_int§nr_io_queues: c_int§reconnect_delay: c_int§ctrl_loss_tmo: c_int§fast_io_fail_tmo: c_int§keep_alive_tmo: c_int§nr_write_queues: c_int§nr_poll_queues: c_int§tos: c_int§keyring: c_long§tls_key: c_long§tls_configured_key: c_long§duplicate_connect: bool§disable_sqflow: bool§hdr_digest: bool§data_digest: bool§tls: bool§concat: bool

Trait Implementations§

Source§

impl Clone for nvme_fabrics_config

Source§

fn clone(&self) -> nvme_fabrics_config

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for nvme_fabrics_config

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for nvme_fabrics_config

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for nvme_fabrics_config

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.