rustix::fs

Type Alias StatFs

Source
pub type StatFs = statfs64;
Expand description

struct statfs for use with statfs and fstatfs.

Aliased Type§

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: __kernel_fsid_t,
    pub f_namelen: i64,
    pub f_frsize: i64,
    pub f_flags: i64,
    pub f_spare: [i64; 4],
}

Fields§

§f_type: i64§f_bsize: i64§f_blocks: u64§f_bfree: u64§f_bavail: u64§f_files: u64§f_ffree: u64§f_fsid: __kernel_fsid_t§f_namelen: i64§f_frsize: i64§f_flags: i64§f_spare: [i64; 4]

Trait Implementations

Source§

impl Clone for statfs64

Source§

fn clone(&self) -> statfs64

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for statfs64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for statfs64