#[repr(C)]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 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§
impl Copy 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