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: u64Total data blocks in the filesystem
bfree: u64Free blocks in filesystem
bavail: u64Free blocks available to unprivileged user
files: u64Total file nodes in filesystem
ffree: u64Free file nodes in filesystem
bsize: u32Optimal transfer block size
namelen: u32Maximum length of filenames
frsize: u32Fragment size
Trait Implementations§
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