pub struct SystemMemory {
pub total: u64,
pub avail: u64,
}
Expand description
Memory information
Fields§
§total: u64
Total memory in bytes.
avail: u64
Available memory in bytes.
Implementations§
Source§impl SystemMemory
impl SystemMemory
Auto Trait Implementations§
impl Freeze for SystemMemory
impl RefUnwindSafe for SystemMemory
impl Send for SystemMemory
impl Sync for SystemMemory
impl Unpin for SystemMemory
impl UnwindSafe for SystemMemory
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