Struct libc::sysinfo[][src]

#[repr(C)]
pub struct sysinfo {
Show fields pub uptime: c_long, pub loads: [c_ulong; 3], pub totalram: c_ulong, pub freeram: c_ulong, pub sharedram: c_ulong, pub bufferram: c_ulong, pub totalswap: c_ulong, pub freeswap: c_ulong, pub procs: c_ushort, pub pad: c_ushort, pub totalhigh: c_ulong, pub freehigh: c_ulong, pub mem_unit: c_uint, pub _f: [c_char; 8],
}

Fields

uptime: c_longloads: [c_ulong; 3]totalram: c_ulongfreeram: c_ulongsharedram: c_ulongbufferram: c_ulongtotalswap: c_ulongfreeswap: c_ulongprocs: c_ushortpad: c_ushort
👎 Deprecated since 0.2.58:

This padding field might become private in the future

totalhigh: c_ulongfreehigh: c_ulongmem_unit: c_uint_f: [c_char; 8]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.