pub struct Disk {
pub size: u64,
pub free: u64,
}Expand description
The size and free space of the file system that holds a working directory, in bytes.
Fields§
§size: u64The size of the file system.
free: u64The free space that a process without privileges may use.
Trait Implementations§
impl Copy for Disk
impl Eq for Disk
impl StructuralPartialEq for Disk
Auto Trait Implementations§
impl Freeze for Disk
impl RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnsafeUnpin for Disk
impl UnwindSafe for Disk
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