Skip to main content

nvmf_dim_data

Struct nvmf_dim_data 

Source
#[repr(C)]
pub struct nvmf_dim_data {
Show 13 fields pub tdl: __le32, pub rsvd4: [__u8; 4], pub nument: __le64, pub entfmt: __le16, pub etype: __le16, pub portlcl: __u8, pub rsvd21: __u8, pub ektype: __le16, pub eid: [c_char; 256], pub ename: [c_char; 256], pub ever: [c_char; 64], pub rsvd600: [__u8; 424], pub die: __IncompleteArrayField<nvmf_die>,
}
Expand description

struct nvmf_dim_data - Discovery Information Management (DIM) - Data @tdl: Total Data Length @rsvd4: Reserved @nument: Number of entries @entfmt: Entry Format (&enum nvmf_dim_entfmt) @etype: Entity Type (&enum nvmf_dim_etype) @portlcl: Port Local @rsvd21: Reserved @ektype: Entry Key Type @eid: Entity Identifier (e.g. Host NQN) @ename: Entity Name (e.g. hostname) @ever: Entity Version (e.g. OS Name/Version) @rsvd600: Reserved @die: Discovery Information Entry (see @nument above)

Fields§

§tdl: __le32§rsvd4: [__u8; 4]§nument: __le64§entfmt: __le16§etype: __le16§portlcl: __u8§rsvd21: __u8§ektype: __le16§eid: [c_char; 256]§ename: [c_char; 256]§ever: [c_char; 64]§rsvd600: [__u8; 424]§die: __IncompleteArrayField<nvmf_die>

Trait Implementations§

Source§

impl Default for nvmf_dim_data

Source§

fn default() -> Self

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

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> 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, 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.