pub struct StorageDevice {
pub info: BlockStorageInfo,
pub model: String,
pub vendor: String,
pub state: String,
pub partitions: Partitions,
}
Expand description
Represents a block storage device.
Fields§
§info: BlockStorageInfo
§model: String
§vendor: String
§state: String
§partitions: Partitions
Trait Implementations§
Source§impl Debug for StorageDevice
impl Debug for StorageDevice
Source§impl FromSysName<StorageDevice> for StorageDevice
impl FromSysName<StorageDevice> for StorageDevice
Source§impl PartialEq for StorageDevice
impl PartialEq for StorageDevice
impl Eq for StorageDevice
impl StructuralPartialEq for StorageDevice
Auto Trait Implementations§
impl Freeze for StorageDevice
impl RefUnwindSafe for StorageDevice
impl Send for StorageDevice
impl Sync for StorageDevice
impl Unpin for StorageDevice
impl UnwindSafe for StorageDevice
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