Struct rs9p::fcall::Statfs[][src]

pub struct Statfs {
    pub typ: u32,
    pub bsize: u32,
    pub blocks: u64,
    pub bfree: u64,
    pub bavail: u64,
    pub files: u64,
    pub ffree: u64,
    pub fsid: u64,
    pub namelen: u32,
}

Filesystem information corresponding to struct statfs of Linux.

Protocol

9P2000.L

Fields

typ: u32

Type of file system

bsize: u32

Optimal transfer block size

blocks: u64

Total data blocks in file system

bfree: u64

Free blocks in fs

bavail: u64

Free blocks avail to non-superuser

files: u64

Total file nodes in file system

ffree: u64

Free file nodes in fs

fsid: u64

Filesystem ID

namelen: u32

Maximum length of filenames

Trait Implementations

impl Clone for Statfs[src]

impl Copy for Statfs[src]

impl Debug for Statfs[src]

impl Decodable for Statfs[src]

impl Encodable for Statfs[src]

impl Eq for Statfs[src]

impl From<Statvfs> for Statfs[src]

impl Hash for Statfs[src]

impl Ord for Statfs[src]

impl PartialEq<Statfs> for Statfs[src]

impl PartialOrd<Statfs> for Statfs[src]

impl StructuralEq for Statfs[src]

impl StructuralPartialEq for Statfs[src]

Auto Trait Implementations

impl RefUnwindSafe for Statfs

impl Send for Statfs

impl Sync for Statfs

impl Unpin for Statfs

impl UnwindSafe for Statfs

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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 = 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.