[−][src]Struct nix::sys::statvfs::vfs::Statvfs
The posix statvfs struct
http://linux.die.net/man/2/statvfs
Fields
f_bsize: c_ulongFilesystem block size. This is the value that will lead to most efficient use of the filesystem
f_frsize: c_ulongFragment Size -- actual minimum unit of allocation on this filesystem
f_blocks: u64Total number of blocks on the filesystem
f_bfree: u64Number of unused blocks on the filesystem, including those reserved for root
f_bavail: u64Number of blocks available to non-root users
f_files: u64Total number of inodes available on the filesystem
f_ffree: u64Number of inodes available on the filesystem
f_favail: u64Number of inodes available to non-root users
f_fsid: c_ulongFile System ID
f_flag: FsFlagsMount Flags
f_namemax: c_ulongMaximum filename length
Methods
impl Statvfs[src]
pub fn for_path<P: ?Sized + NixPath>(path: &P) -> Result<Statvfs>[src]
Create a new Statvfs object and fill it with information about
the mount that contains path
pub fn update_with_path<P: ?Sized + NixPath>(&mut self, path: &P) -> Result<()>[src]
Replace information in this struct with information about path
pub fn for_fd<T: AsRawFd>(fd: &T) -> Result<Statvfs>[src]
Create a new Statvfs object and fill it with information from fd
pub fn update_with_fd<T: AsRawFd>(&mut self, fd: &T) -> Result<()>[src]
Replace information in this struct with information about fd
Trait Implementations
impl Default for Statvfs[src]
impl Clone for Statvfs[src]
fn clone(&self) -> Statvfs[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 Debug for Statvfs[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>, [src]
T: From<U>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,