pub struct Statfs(/* private fields */);
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
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Statfs
impl Send for Statfs
impl Sync for Statfs
impl Unpin for Statfs
impl UnwindSafe for Statfs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more