#[repr(C)]
pub struct nvme_telemetry_log_page_hdr { pub lpi: __u8, pub rsvd: [__u8; 4], pub iee_oui: [__u8; 3], pub dalb1: __le16, pub dalb2: __le16, pub dalb3: __le16, pub rsvd1: [__u8; 368], pub ctrlavail: __u8, pub ctrldgn: __u8, pub rsnident: [__u8; 128], pub telemetry_dataarea: __IncompleteArrayField<__u8>, }
Expand description

struct nvme_telemetry_log_page_hdr - structure for telemetry log page @lpi: Log page identifier @iee_oui: IEEE OUI Identifier @dalb1: Data area 1 last block @dalb2: Data area 2 last block @dalb3: Data area 3 last block @ctrlavail: Controller initiated data available @ctrldgn: Controller initiated telemetry Data Generation Number @rsnident: Reason Identifier @telemetry_dataarea: Contains telemetry data block

This structure can be used for both telemetry host-initiated log page and controller-initiated log page.

Fields§

§lpi: __u8§rsvd: [__u8; 4]§iee_oui: [__u8; 3]§dalb1: __le16§dalb2: __le16§dalb3: __le16§rsvd1: [__u8; 368]§ctrlavail: __u8§ctrldgn: __u8§rsnident: [__u8; 128]§telemetry_dataarea: __IncompleteArrayField<__u8>

Trait Implementations§

source§

impl Debug for nvme_telemetry_log_page_hdr

source§

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

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

impl Default for nvme_telemetry_log_page_hdr

source§

fn default() -> Self

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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.