Struct Statfs
#[repr(transparent)]
pub struct Statfs(/* private field */);
Describes a mounted file system
Implementations
impl Statfs
fn filesystem_type(&self) -> FsTypeMagic code defining system type
fn optimal_transfer_size(&self) -> __fsword_tOptimal transfer block size
fn block_size(&self) -> __fsword_tSize of a block
fn flags(&self) -> FsFlagsGet the mount flags
fn maximum_name_length(&self) -> __fsword_tMaximum length of filenames
fn blocks(&self) -> u64Total data blocks in filesystem
fn blocks_free(&self) -> u64Free blocks in filesystem
fn blocks_available(&self) -> u64Free blocks available to unprivileged user
fn files(&self) -> u64Total file nodes in filesystem
fn files_free(&self) -> u64Free file nodes in filesystem
fn filesystem_id(&self) -> fsid_tFilesystem ID
Trait Implementations
impl Clone for Statfs
fn clone(&self) -> Self
impl Copy for Statfs
impl Debug for Statfs
fn fmt(&self, f: &mut Formatter<'_>) -> Result