#[repr(C)]pub struct nvme_endurance_group_log {Show 15 fields
pub critical_warning: __u8,
pub rsvd1: [__u8; 2],
pub avl_spare: __u8,
pub avl_spare_threshold: __u8,
pub percent_used: __u8,
pub rsvd6: [__u8; 26],
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 rsvd160: [__u8; 352],
}Fields§
§critical_warning: __u8§rsvd1: [__u8; 2]§avl_spare: __u8§avl_spare_threshold: __u8§percent_used: __u8§rsvd6: [__u8; 26]§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]§rsvd160: [__u8; 352]Trait Implementations§
Source§impl Clone for nvme_endurance_group_log
impl Clone for nvme_endurance_group_log
Source§fn clone(&self) -> nvme_endurance_group_log
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for nvme_endurance_group_log
Source§impl Debug for nvme_endurance_group_log
impl Debug for nvme_endurance_group_log
Source§impl Default for nvme_endurance_group_log
impl Default for nvme_endurance_group_log
Source§impl Hash for nvme_endurance_group_log
impl Hash for nvme_endurance_group_log
Source§impl PartialEq for nvme_endurance_group_log
impl PartialEq for nvme_endurance_group_log
impl StructuralPartialEq for nvme_endurance_group_log
Auto Trait Implementations§
impl Freeze for nvme_endurance_group_log
impl RefUnwindSafe for nvme_endurance_group_log
impl Send for nvme_endurance_group_log
impl Sync for nvme_endurance_group_log
impl Unpin for nvme_endurance_group_log
impl UnsafeUnpin for nvme_endurance_group_log
impl UnwindSafe for nvme_endurance_group_log
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more