pub struct Statfs {
pub blocks: u64,
pub bfree: u64,
pub bavail: u64,
pub files: u64,
pub ffree: u64,
pub bsize: u32,
pub namelen: u32,
pub frsize: u32,
}
Expand description
Filesystem statistics.
Fields§
§blocks: u64
Total data blocks in the filesystem
bfree: u64
Free blocks in filesystem
bavail: u64
Free blocks available to unprivileged user
files: u64
Total file nodes in filesystem
ffree: u64
Free file nodes in filesystem
bsize: u32
Optimal transfer block size
namelen: u32
Maximum length of filenames
frsize: u32
Fragment size
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Statfs
impl Send for Statfs
impl Sync for Statfs
impl Unpin 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