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

pub struct Statfs(_);

Methods

impl Statfs[src]

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

Magic code defining system type

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

Optimal transfer block size

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

Size of a block

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

Maximum length of filenames

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

Total data blocks in filesystem

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

Free blocks in filesystem

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

Free blocks available to unprivileged user

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

Total file nodes in filesystem

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

Free file nodes in filesystem

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

Filesystem ID

Trait Implementations

impl Clone for Statfs[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for Statfs[src]

impl Debug for Statfs[src]

Auto Trait Implementations

impl Sync for Statfs

impl Send for Statfs

impl Unpin for Statfs

impl RefUnwindSafe for Statfs

impl UnwindSafe for Statfs

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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

type Error = Infallible

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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