#[non_exhaustive]#[repr(C)]pub struct StatFs {
pub f_type: FsWord,
pub f_bsize: c_long,
pub f_blocks: u64,
pub f_bfree: u64,
pub f_bavail: u64,
pub f_files: u64,
pub f_ffree: u64,
pub f_fsid: Fsid,
pub f_namelen: c_long,
pub f_frsize: c_long,
pub f_flags: c_long,
/* private fields */
}
Available on crate feature
fs
only.Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.f_type: FsWord
§f_bsize: c_long
§f_blocks: u64
§f_bfree: u64
§f_bavail: u64
§f_files: u64
§f_ffree: u64
§f_fsid: Fsid
§f_namelen: c_long
§f_frsize: c_long
§f_flags: c_long
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 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