Struct linux_nvme_sys::nvme_endurance_group_log
source · #[repr(C)]pub struct nvme_endurance_group_log {
pub rsvd0: __u32,
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 rsvd96: [__u8; 416],
}
Fields§
§rsvd0: __u32
§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]
§rsvd96: [__u8; 416]
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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§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 PartialEq<nvme_endurance_group_log> for nvme_endurance_group_log
impl PartialEq<nvme_endurance_group_log> for nvme_endurance_group_log
source§fn eq(&self, other: &nvme_endurance_group_log) -> bool
fn eq(&self, other: &nvme_endurance_group_log) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nvme_endurance_group_log
impl Eq for nvme_endurance_group_log
impl StructuralEq for nvme_endurance_group_log
impl StructuralPartialEq for nvme_endurance_group_log
Auto Trait Implementations§
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 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