pub struct FsInfo {
pub source: String,
pub fstype: String,
pub target: String,
pub total: u64,
pub used: u64,
pub available: u64,
pub use_percent: f64,
pub itotal: u64,
pub iused: u64,
pub iavail: u64,
pub iuse_percent: f64,
}Expand description
Filesystem information after calling statvfs.
Fields§
§source: String§fstype: String§target: String§total: u64§used: u64§available: u64§use_percent: f64§itotal: u64§iused: u64§iavail: u64§iuse_percent: f64Auto Trait Implementations§
impl Freeze for FsInfo
impl RefUnwindSafe for FsInfo
impl Send for FsInfo
impl Sync for FsInfo
impl Unpin for FsInfo
impl UnsafeUnpin for FsInfo
impl UnwindSafe for FsInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more