Struct nix::sys::statvfs::Statvfs [−][src]
#[repr(C)]pub struct Statvfs(_);
Wrapper around the POSIX statvfs struct
For more information see the statvfs(3) man pages.
Methods
impl Statvfs[src]
impl Statvfspub fn block_size(&self) -> c_ulong[src]
pub fn block_size(&self) -> c_ulongget the file system block size
pub fn fragment_size(&self) -> c_ulong[src]
pub fn fragment_size(&self) -> c_ulongGet the fundamental file system block size
pub fn blocks(&self) -> fsblkcnt_t[src]
pub fn blocks(&self) -> fsblkcnt_tGet the number of blocks.
Units are in units of fragment_size()
pub fn blocks_free(&self) -> fsblkcnt_t[src]
pub fn blocks_free(&self) -> fsblkcnt_tGet the number of free blocks in the file system
pub fn blocks_available(&self) -> fsblkcnt_t[src]
pub fn blocks_available(&self) -> fsblkcnt_tGet the number of free blocks for unprivileged users
pub fn files(&self) -> fsfilcnt_t[src]
pub fn files(&self) -> fsfilcnt_tGet the total number of file inodes
pub fn files_free(&self) -> fsfilcnt_t[src]
pub fn files_free(&self) -> fsfilcnt_tGet the number of free file inodes
pub fn files_available(&self) -> fsfilcnt_t[src]
pub fn files_available(&self) -> fsfilcnt_tGet the number of free file inodes for unprivileged users
pub fn filesystem_id(&self) -> c_ulong[src]
pub fn filesystem_id(&self) -> c_ulongGet the file system id
pub fn flags(&self) -> FsFlags[src]
pub fn flags(&self) -> FsFlagsGet the mount flags
pub fn name_max(&self) -> c_ulong[src]
pub fn name_max(&self) -> c_ulongGet the maximum filename length
Trait Implementations
impl Clone for Statvfs[src]
impl Clone for Statvfsfn clone(&self) -> Statvfs[src]
fn clone(&self) -> StatvfsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Statvfs[src]
impl Copy for Statvfs