[−][src]Struct nix::sys::statvfs::Statvfs
Wrapper around the POSIX statvfs
struct
For more information see the statvfs(3)
man pages.
Methods
impl Statvfs
[src]
impl Statvfs
pub fn block_size(&self) -> c_ulong | [src] |
get the file system block size
pub fn fragment_size(&self) -> c_ulong | [src] |
Get the fundamental file system block size
pub fn blocks(&self) -> fsblkcnt_t | [src] |
Get the number of blocks.
Units are in units of fragment_size()
pub fn blocks_free(&self) -> fsblkcnt_t | [src] |
Get the number of free blocks in the file system
pub fn blocks_available(&self) -> fsblkcnt_t | [src] |
Get the number of free blocks for unprivileged users
pub fn files(&self) -> fsfilcnt_t | [src] |
Get the total number of file inodes
pub fn files_free(&self) -> fsfilcnt_t | [src] |
Get the number of free file inodes
pub fn files_available(&self) -> fsfilcnt_t | [src] |
Get the number of free file inodes for unprivileged users
pub fn filesystem_id(&self) -> c_ulong | [src] |
Get the file system id
pub fn flags(&self) -> FsFlags | [src] |
Get the mount flags
pub fn name_max(&self) -> c_ulong | [src] |
Get the maximum filename length
Trait Implementations
impl Clone for Statvfs
[src]
impl Clone for Statvfs
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 Copy for Statvfs
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
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]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
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> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |