pub struct QueryDiskInfo {
pub total_units: u32,
pub free_units: u32,
pub bps: u16,
pub spc: u16,
}Expand description
QUERY_INFORMATION_DISK response (WC=5).
Fields§
§total_units: u32Total allocation units.
free_units: u32Free allocation units.
bps: u16Bytes per sector.
spc: u16Sectors per cluster/unit.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryDiskInfo
impl RefUnwindSafe for QueryDiskInfo
impl Send for QueryDiskInfo
impl Sync for QueryDiskInfo
impl Unpin for QueryDiskInfo
impl UnsafeUnpin for QueryDiskInfo
impl UnwindSafe for QueryDiskInfo
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