[][src]Struct linux_nvme_sys::nvme_smart_log

#[repr(C)]
pub struct nvme_smart_log {
    pub critical_warning: __u8,
    pub temperature: [__u8; 2],
    pub avail_spare: __u8,
    pub spare_thresh: __u8,
    pub percent_used: __u8,
    pub rsvd6: [__u8; 26],
    pub data_units_read: [__u8; 16],
    pub data_units_written: [__u8; 16],
    pub host_reads: [__u8; 16],
    pub host_writes: [__u8; 16],
    pub ctrl_busy_time: [__u8; 16],
    pub power_cycles: [__u8; 16],
    pub power_on_hours: [__u8; 16],
    pub unsafe_shutdowns: [__u8; 16],
    pub media_errors: [__u8; 16],
    pub num_err_log_entries: [__u8; 16],
    pub warning_temp_time: __le32,
    pub critical_comp_time: __le32,
    pub temp_sensor: [__le16; 8],
    pub thm_temp1_trans_count: __le32,
    pub thm_temp2_trans_count: __le32,
    pub thm_temp1_total_time: __le32,
    pub thm_temp2_total_time: __le32,
    pub rsvd232: [__u8; 280],
}

Fields

critical_warning: __u8temperature: [__u8; 2]avail_spare: __u8spare_thresh: __u8percent_used: __u8rsvd6: [__u8; 26]data_units_read: [__u8; 16]data_units_written: [__u8; 16]host_reads: [__u8; 16]host_writes: [__u8; 16]ctrl_busy_time: [__u8; 16]power_cycles: [__u8; 16]power_on_hours: [__u8; 16]unsafe_shutdowns: [__u8; 16]media_errors: [__u8; 16]num_err_log_entries: [__u8; 16]warning_temp_time: __le32critical_comp_time: __le32temp_sensor: [__le16; 8]thm_temp1_trans_count: __le32thm_temp2_trans_count: __le32thm_temp1_total_time: __le32thm_temp2_total_time: __le32rsvd232: [__u8; 280]

Trait Implementations

impl Default for nvme_smart_log[src]

impl Clone for nvme_smart_log[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for nvme_smart_log[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]