pub struct HostMemory {
pub mem_total: u64,
pub mem_free: u64,
pub mem_shared: u64,
pub mem_buffers: u64,
pub mem_cached: u64,
pub swap_total: u64,
pub swap_free: u64,
pub page_in: u32,
pub page_out: u32,
pub swap_in: u32,
pub swap_out: u32,
}Fields§
§mem_total: u64§mem_free: u64§mem_buffers: u64§mem_cached: u64§swap_total: u64§swap_free: u64§page_in: u32§page_out: u32§swap_in: u32§swap_out: u32Trait Implementations§
Source§impl Clone for HostMemory
impl Clone for HostMemory
Source§fn clone(&self) -> HostMemory
fn clone(&self) -> HostMemory
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 moreSource§impl Debug for HostMemory
impl Debug for HostMemory
Source§impl<'de> Deserialize<'de> for HostMemory
impl<'de> Deserialize<'de> for HostMemory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HostMemory
impl PartialEq for HostMemory
Source§impl Serialize for HostMemory
impl Serialize for HostMemory
impl Eq for HostMemory
impl StructuralPartialEq for HostMemory
Auto Trait Implementations§
impl Freeze for HostMemory
impl RefUnwindSafe for HostMemory
impl Send for HostMemory
impl Sync for HostMemory
impl Unpin for HostMemory
impl UnsafeUnpin for HostMemory
impl UnwindSafe for HostMemory
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