Struct sys_info::MemInfo[][src]

#[repr(C)]
pub struct MemInfo { pub total: u64, pub free: u64, pub avail: u64, pub buffers: u64, pub cached: u64, pub swap_total: u64, pub swap_free: u64, }
Expand description

System memory information.

Fields

total: u64

Total physical memory.

free: u64avail: u64buffers: u64cached: u64swap_total: u64

Total swap memory.

swap_free: u64

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.