pub struct MemoryCollector;Expand description
Stateless: each call is a fresh snapshot from /proc/meminfo. Memory hardware type (DDR4/DDR5) requires SMBIOS/DMI parsing which needs elevated privileges - deferred to a later phase.
Implementations§
Auto Trait Implementations§
impl Freeze for MemoryCollector
impl RefUnwindSafe for MemoryCollector
impl Send for MemoryCollector
impl Sync for MemoryCollector
impl Unpin for MemoryCollector
impl UnsafeUnpin for MemoryCollector
impl UnwindSafe for MemoryCollector
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