pub struct sys_info_t {
pub uptime: i64,
pub loads: [u64; 3],
pub totalram: u64,
pub freeram: u64,
pub sharedram: u64,
pub bufferram: u64,
pub totalswap: u64,
pub freeswap: u64,
pub procs: u16,
pub totalhigh: u64,
pub freehigh: u64,
pub mem_unit: u32,
}Fields§
§uptime: i64§loads: [u64; 3]§totalram: u64§freeram: u64§bufferram: u64§totalswap: u64§freeswap: u64§procs: u16§totalhigh: u64§freehigh: u64§mem_unit: u32Implementations§
Source§impl sys_info_t
impl sys_info_t
pub fn from_sys_info(info: &sysinfo) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for sys_info_t
impl RefUnwindSafe for sys_info_t
impl Send for sys_info_t
impl Sync for sys_info_t
impl Unpin for sys_info_t
impl UnwindSafe for sys_info_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more