#[repr(C)]pub struct IdentifyNamespaceDataStructure {
pub size: u64,
pub capacity: u64,
pub utilization: u64,
pub features: NamespaceFeatures,
pub formatted_lba_size: FormattedLbaSize,
/* private fields */
}
Fields§
§size: u64
§capacity: u64
§utilization: u64
§features: NamespaceFeatures
§formatted_lba_size: FormattedLbaSize
Implementations§
source§impl IdentifyNamespaceDataStructure
impl IdentifyNamespaceDataStructure
pub fn lba_formats(&self) -> &[LbaFormat]
Trait Implementations§
source§impl Clone for IdentifyNamespaceDataStructure
impl Clone for IdentifyNamespaceDataStructure
source§fn clone(&self) -> IdentifyNamespaceDataStructure
fn clone(&self) -> IdentifyNamespaceDataStructure
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 moreAuto Trait Implementations§
impl Freeze for IdentifyNamespaceDataStructure
impl RefUnwindSafe for IdentifyNamespaceDataStructure
impl Send for IdentifyNamespaceDataStructure
impl Sync for IdentifyNamespaceDataStructure
impl Unpin for IdentifyNamespaceDataStructure
impl UnwindSafe for IdentifyNamespaceDataStructure
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)