Struct rcore_fs::vfs::FsInfo[][src]

pub struct FsInfo {
    pub bsize: usize,
    pub frsize: usize,
    pub blocks: usize,
    pub bfree: usize,
    pub bavail: usize,
    pub files: usize,
    pub ffree: usize,
    pub namemax: usize,
}

Metadata of FileSystem

Ref: [http://pubs.opengroup.org/onlinepubs/9699919799/]

Fields

bsize: usize

File system block size

frsize: usize

Fundamental file system block size

blocks: usize

Total number of blocks on file system in units of frsize

bfree: usize

Total number of free blocks

bavail: usize

Number of free blocks available to non-privileged process

files: usize

Total number of file serial numbers

ffree: usize

Total number of free file serial numbers

namemax: usize

Maximum filename length

Trait Implementations

impl Debug for FsInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for FsInfo

impl Send for FsInfo

impl Sync for FsInfo

impl Unpin for FsInfo

impl UnwindSafe for FsInfo

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, 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.