[][src]Struct nix::sys::statfs::Statfs

#[repr(transparent)]
pub struct Statfs(_);

Methods

impl Statfs[src]

pub fn filesystem_type(&self) -> FsType[src]

Magic code defining system type

pub fn filesystem_type_name(&self) -> &str[src]

Magic code defining system type

pub fn optimal_transfer_size(&self) -> u64[src]

Optimal transfer block size

pub fn block_size(&self) -> u64[src]

Size of a block

pub fn maximum_name_length(&self) -> u32[src]

Maximum length of filenames

pub fn blocks(&self) -> u64[src]

Total data blocks in filesystem

pub fn blocks_free(&self) -> u64[src]

Free blocks in filesystem

pub fn blocks_available(&self) -> i64[src]

Free blocks available to unprivileged user

pub fn files(&self) -> u64[src]

Total file nodes in filesystem

pub fn files_free(&self) -> i64[src]

Free file nodes in filesystem

pub fn filesystem_id(&self) -> fsid_t[src]

Filesystem ID

Trait Implementations

impl Clone for Statfs[src]

impl Copy for Statfs[src]

impl Debug for Statfs[src]

Auto Trait Implementations

impl Send for Statfs

impl Sync for Statfs

impl Unpin for Statfs

impl UnwindSafe for Statfs

impl RefUnwindSafe for Statfs

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]