pub struct Usage(/* private fields */);
Implementations§
Source§impl Usage
impl Usage
Sourcepub fn total(&self) -> Information
pub fn total(&self) -> Information
Returns total information amount available in partition.
Sourcepub fn used(&self) -> Information
pub fn used(&self) -> Information
Returns used information amount used in partition.
Sourcepub fn free(&self) -> Information
pub fn free(&self) -> Information
Returns free information about used in partition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Usage
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnwindSafe for Usage
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