pub struct HealthStatus {
pub healthy: bool,
pub hot_items: usize,
pub cold_items: usize,
pub total_items: usize,
pub temperature: f32,
pub restore_queue_depth: usize,
pub pending_migrations: usize,
pub hot_hit_rate: f64,
pub avg_search_ms: f64,
pub p99_search_ms: f64,
}Expand description
系统健康报告
Fields§
§healthy: bool§hot_items: usize§cold_items: usize§total_items: usize§temperature: f32§restore_queue_depth: usize§pending_migrations: usize§hot_hit_rate: f64§avg_search_ms: f64§p99_search_ms: f64Trait Implementations§
Source§impl Clone for HealthStatus
impl Clone for HealthStatus
Source§fn clone(&self) -> HealthStatus
fn clone(&self) -> HealthStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HealthStatus
impl Debug for HealthStatus
Auto Trait Implementations§
impl Freeze for HealthStatus
impl RefUnwindSafe for HealthStatus
impl Send for HealthStatus
impl Sync for HealthStatus
impl Unpin for HealthStatus
impl UnsafeUnpin for HealthStatus
impl UnwindSafe for HealthStatus
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