pub struct HostMemory {
pub total_mb: u64,
pub available_mb: u64,
pub swap_total_mb: u64,
pub swap_used_mb: u64,
}Expand description
Host memory snapshot in MB.
Fields§
§total_mb: u64§available_mb: u64§swap_total_mb: u64§swap_used_mb: u64Auto 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