Struct libc::statfs

source ·
#[repr(C)]
pub struct statfs {
Show 22 fields pub f_flags: u32, pub f_bsize: u32, pub f_iosize: u32, pub f_blocks: u64, pub f_bfree: u64, pub f_bavail: i64, pub f_files: u64, pub f_ffree: u64, pub f_favail: i64, pub f_syncwrites: u64, pub f_syncreads: u64, pub f_asyncwrites: u64, pub f_asyncreads: u64, pub f_fsid: fsid_t, pub f_namemax: u32, pub f_owner: uid_t, pub f_ctime: u64, pub f_fstypename: [c_char; 16], pub f_mntonname: [c_char; 90], pub f_mntfromname: [c_char; 90], pub f_mntfromspec: [c_char; 90], pub mount_info: mount_info,
}

Fields

f_flags: u32f_bsize: u32f_iosize: u32f_blocks: u64f_bfree: u64f_bavail: i64f_files: u64f_ffree: u64f_favail: i64f_syncwrites: u64f_syncreads: u64f_asyncwrites: u64f_asyncreads: u64f_fsid: fsid_tf_namemax: u32f_owner: uid_tf_ctime: u64f_fstypename: [c_char; 16]f_mntonname: [c_char; 90]f_mntfromname: [c_char; 90]f_mntfromspec: [c_char; 90]mount_info: mount_info

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given [Hasher]. Read more
Feeds a slice of this type into the given [Hasher]. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.