pub struct StatFs {
pub f_type: i64,
pub f_bsize: i64,
pub f_blocks: u64,
pub f_bfree: u64,
pub f_bavail: u64,
pub f_files: u64,
pub f_ffree: u64,
pub f_fsid: fsid_t,
pub f_namelen: i64,
pub f_frsize: i64,
/* private fields */
}Fields§
§f_type: i64§f_bsize: i64§f_blocks: u64§f_bfree: u64§f_bavail: u64§f_files: u64§f_ffree: u64§f_fsid: fsid_t§f_namelen: i64§f_frsize: i64Trait Implementations§
Source§impl FsMeta for StatFs
Available on Unix only.
impl FsMeta for StatFs
Available on Unix only.
fn block_size(&self) -> i64
fn total_blocks(&self) -> u64
fn free_blocks(&self) -> u64
fn avail_blocks(&self) -> u64
fn total_file_nodes(&self) -> u64
fn free_file_nodes(&self) -> u64
fn fs_type(&self) -> i64
fn io_size(&self) -> u64
fn fsid(&self) -> u64
fn namelen(&self) -> u64
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 UnwindSafe for statfs
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)