#[repr(transparent)]pub struct Statfs(_);
Expand description
Describes a mounted file system
Implementations§
source§impl Statfs
impl Statfs
sourcepub fn filesystem_type(&self) -> FsType
pub fn filesystem_type(&self) -> FsType
Magic code defining system type
sourcepub fn optimal_transfer_size(&self) -> __fsword_t
pub fn optimal_transfer_size(&self) -> __fsword_t
Optimal transfer block size
sourcepub fn block_size(&self) -> __fsword_t
pub fn block_size(&self) -> __fsword_t
Size of a block
sourcepub fn maximum_name_length(&self) -> __fsword_t
pub fn maximum_name_length(&self) -> __fsword_t
Maximum length of filenames
sourcepub fn blocks_free(&self) -> u64
pub fn blocks_free(&self) -> u64
Free blocks in filesystem
sourcepub fn blocks_available(&self) -> u64
pub fn blocks_available(&self) -> u64
Free blocks available to unprivileged user
sourcepub fn files_free(&self) -> u64
pub fn files_free(&self) -> u64
Free file nodes in filesystem
sourcepub fn filesystem_id(&self) -> fsid_t
pub fn filesystem_id(&self) -> fsid_t
Filesystem ID