pub struct LinuxMemoryInfo {
pub mem_total_kb: u64,
pub mem_free_kb: u64,
pub mem_available_kb: u64,
pub buffers_kb: u64,
pub cached_kb: u64,
pub swap_total_kb: u64,
pub swap_free_kb: u64,
pub modules: Vec<LinuxMemoryModule>,
}
Expand description
Linux-specific memory information
Fields§
§mem_total_kb: u64
§mem_free_kb: u64
§mem_available_kb: u64
§buffers_kb: u64
§cached_kb: u64
§swap_total_kb: u64
§swap_free_kb: u64
§modules: Vec<LinuxMemoryModule>
Implementations§
Trait Implementations§
Source§impl Clone for LinuxMemoryInfo
impl Clone for LinuxMemoryInfo
Source§fn clone(&self) -> LinuxMemoryInfo
fn clone(&self) -> LinuxMemoryInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LinuxMemoryInfo
impl RefUnwindSafe for LinuxMemoryInfo
impl Send for LinuxMemoryInfo
impl Sync for LinuxMemoryInfo
impl Unpin for LinuxMemoryInfo
impl UnwindSafe for LinuxMemoryInfo
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