Struct linux_nvme_sys::nvme_nvmset_attr_entry
source · #[repr(C)]pub struct nvme_nvmset_attr_entry {
pub id: __le16,
pub endurance_group_id: __le16,
pub rsvd4: [__u8; 4],
pub random_4k_read_typical: __le32,
pub opt_write_size: __le32,
pub total_nvmset_cap: [__u8; 16],
pub unalloc_nvmset_cap: [__u8; 16],
pub rsvd48: [__u8; 80],
}
Fields§
§id: __le16
§endurance_group_id: __le16
§rsvd4: [__u8; 4]
§random_4k_read_typical: __le32
§opt_write_size: __le32
§total_nvmset_cap: [__u8; 16]
§unalloc_nvmset_cap: [__u8; 16]
§rsvd48: [__u8; 80]
Trait Implementations§
source§impl Clone for nvme_nvmset_attr_entry
impl Clone for nvme_nvmset_attr_entry
source§fn clone(&self) -> nvme_nvmset_attr_entry
fn clone(&self) -> nvme_nvmset_attr_entry
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_nvmset_attr_entry
impl Debug for nvme_nvmset_attr_entry
source§impl Default for nvme_nvmset_attr_entry
impl Default for nvme_nvmset_attr_entry
source§impl PartialEq<nvme_nvmset_attr_entry> for nvme_nvmset_attr_entry
impl PartialEq<nvme_nvmset_attr_entry> for nvme_nvmset_attr_entry
source§fn eq(&self, other: &nvme_nvmset_attr_entry) -> bool
fn eq(&self, other: &nvme_nvmset_attr_entry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nvme_nvmset_attr_entry
impl Eq for nvme_nvmset_attr_entry
impl StructuralEq for nvme_nvmset_attr_entry
impl StructuralPartialEq for nvme_nvmset_attr_entry
Auto Trait Implementations§
impl RefUnwindSafe for nvme_nvmset_attr_entry
impl Send for nvme_nvmset_attr_entry
impl Sync for nvme_nvmset_attr_entry
impl Unpin for nvme_nvmset_attr_entry
impl UnwindSafe for nvme_nvmset_attr_entry
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