pub struct DiskInfo {
pub media_id: u32,
pub block_size: u32,
pub last_block: u64,
pub removable: bool,
pub read_only: bool,
pub partitions: PartitionTable,
}Expand description
Represents a physical disk device
Fields§
§media_id: u32§block_size: u32§last_block: u64§removable: bool§read_only: bool§partitions: PartitionTableImplementations§
Auto Trait Implementations§
impl Freeze for DiskInfo
impl RefUnwindSafe for DiskInfo
impl Send for DiskInfo
impl Sync for DiskInfo
impl Unpin for DiskInfo
impl UnwindSafe for DiskInfo
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