Struct systemstat::data::Filesystem

source ·
pub struct Filesystem {
    pub files: usize,
    pub files_total: usize,
    pub files_avail: usize,
    pub free: ByteSize,
    pub avail: ByteSize,
    pub total: ByteSize,
    pub name_max: usize,
    pub fs_type: String,
    pub fs_mounted_from: String,
    pub fs_mounted_on: String,
}

Fields§

§files: usize

Used file nodes in filesystem

§files_total: usize

Total file nodes in filesystem

§files_avail: usize

Free nodes available to non-superuser

§free: ByteSize

Free bytes in filesystem

§avail: ByteSize

Free bytes available to non-superuser

§total: ByteSize

Total bytes in filesystem

§name_max: usize

Maximum filename length

§fs_type: String§fs_mounted_from: String§fs_mounted_on: String

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.