Skip to main content

nvme_endurance_group_log

Struct nvme_endurance_group_log 

Source
#[repr(C)]
pub struct nvme_endurance_group_log {
Show 19 fields pub critical_warning: __u8, pub endurance_group_features: __u8, pub rsvd2: __u8, pub avl_spare: __u8, pub avl_spare_threshold: __u8, pub percent_used: __u8, pub domain_identifier: __le16, pub rsvd8: [__u8; 24], pub endurance_estimate: [__u8; 16], pub data_units_read: [__u8; 16], pub data_units_written: [__u8; 16], pub media_units_written: [__u8; 16], pub host_read_cmds: [__u8; 16], pub host_write_cmds: [__u8; 16], pub media_data_integrity_err: [__u8; 16], pub num_err_info_log_entries: [__u8; 16], pub total_end_grp_cap: [__u8; 16], pub unalloc_end_grp_cap: [__u8; 16], pub rsvd192: [__u8; 320],
}
Expand description

struct nvme_endurance_group_log - Endurance Group Information Log @critical_warning: Critical Warning @endurance_group_features: Endurance Group Features @rsvd2: Reserved @avl_spare: Available Spare @avl_spare_threshold: Available Spare Threshold @percent_used: Percentage Used @domain_identifier: Domain Identifier @rsvd8: Reserved @endurance_estimate: Endurance Estimate @data_units_read: Data Units Read @data_units_written: Data Units Written @media_units_written: Media Units Written @host_read_cmds: Host Read Commands @host_write_cmds: Host Write Commands @media_data_integrity_err: Media and Data Integrity Errors @num_err_info_log_entries: Number of Error Information Log Entries @total_end_grp_cap: Total Endurance Group Capacity @unalloc_end_grp_cap: Unallocated Endurance Group Capacity @rsvd192: Reserved

Fields§

§critical_warning: __u8§endurance_group_features: __u8§rsvd2: __u8§avl_spare: __u8§avl_spare_threshold: __u8§percent_used: __u8§domain_identifier: __le16§rsvd8: [__u8; 24]§endurance_estimate: [__u8; 16]§data_units_read: [__u8; 16]§data_units_written: [__u8; 16]§media_units_written: [__u8; 16]§host_read_cmds: [__u8; 16]§host_write_cmds: [__u8; 16]§media_data_integrity_err: [__u8; 16]§num_err_info_log_entries: [__u8; 16]§total_end_grp_cap: [__u8; 16]§unalloc_end_grp_cap: [__u8; 16]§rsvd192: [__u8; 320]

Trait Implementations§

Source§

impl Clone for nvme_endurance_group_log

Source§

fn clone(&self) -> nvme_endurance_group_log

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_endurance_group_log

Source§

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

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

impl Default for nvme_endurance_group_log

Source§

fn default() -> Self

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

impl Copy for nvme_endurance_group_log

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.