pub struct MemoryHealth {
pub is_healthy: bool,
pub issues: Vec<String>,
pub snapshot: MemorySnapshot,
}Expand description
Health check result for memory usage.
Fields§
§is_healthy: boolWhether the memory usage is within healthy thresholds
issues: Vec<String>List of detected issues if any
snapshot: MemorySnapshotCurrent memory usage snapshot
Trait Implementations§
Source§impl Clone for MemoryHealth
impl Clone for MemoryHealth
Source§fn clone(&self) -> MemoryHealth
fn clone(&self) -> MemoryHealth
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 MemoryHealth
impl Debug for MemoryHealth
Auto Trait Implementations§
impl Freeze for MemoryHealth
impl RefUnwindSafe for MemoryHealth
impl Send for MemoryHealth
impl Sync for MemoryHealth
impl Unpin for MemoryHealth
impl UnwindSafe for MemoryHealth
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