pub struct StatFs {
pub blocks: u64,
pub bfree: u64,
pub bavail: u64,
pub bsize: u32,
pub namelen: u32,
pub frsize: u32,
}Expand description
Filesystem-wide statistics, returned by Filesystem::statfs.
Fields§
§blocks: u64Total blocks (in units of bsize).
bfree: u64Free blocks (in units of bsize).
bavail: u64Blocks available to unprivileged users (same as bfree for btrfs).
bsize: u32Preferred block size.
namelen: u32Maximum filename length.
frsize: u32Fragment size (same as bsize for btrfs).
Trait Implementations§
impl Copy for StatFs
impl Eq for StatFs
impl StructuralPartialEq for StatFs
Auto Trait Implementations§
impl Freeze for StatFs
impl RefUnwindSafe for StatFs
impl Send for StatFs
impl Sync for StatFs
impl Unpin for StatFs
impl UnsafeUnpin for StatFs
impl UnwindSafe for StatFs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.