Struct sysutil::NvmeDevice
source · pub struct NvmeDevice {
pub device: String,
pub pcieAddress: String,
pub model: String,
pub linkSpeedGTs: f32,
pub pcieLanes: usize,
pub size: ByteSize,
pub partitions: Vec<StoragePartition>,
}Expand description
Contains NVME device information
Fields§
§device: String§pcieAddress: String§model: String§linkSpeedGTs: f32§pcieLanes: usize§size: ByteSize§partitions: Vec<StoragePartition>Trait Implementations§
source§impl Clone for NvmeDevice
impl Clone for NvmeDevice
source§fn clone(&self) -> NvmeDevice
fn clone(&self) -> NvmeDevice
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 NvmeDevice
impl RefUnwindSafe for NvmeDevice
impl Send for NvmeDevice
impl Sync for NvmeDevice
impl Unpin for NvmeDevice
impl UnwindSafe for NvmeDevice
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