pub struct DebugCacheTelemetry {Show 15 fields
pub model: String,
pub session_cache_rates: DebugCacheRates,
pub history: Vec<DebugCacheTurn>,
pub history_capacity: usize,
pub prefix_stability_pct: Option<u32>,
pub prefix_checks_total: u64,
pub prefix_change_count: u64,
pub prefix_drift_count: u64,
pub prefix_context_updates: u64,
pub prefix_pin_reason: Option<String>,
pub prefix_last_miss_reason: Option<String>,
pub last_prefix_change_desc: Option<String>,
pub last_pinned_prefix_hash: Option<String>,
pub api_message_count: usize,
pub non_system_message_count: usize,
}Expand description
Shared source for /cache [count|stats|zones] branches. One host read
preserves ring order, optional telemetry and prefix stability evidence.
Fields§
§model: String§session_cache_rates: DebugCacheRatesParent/agent/combined percentages computed once by the host.
history: Vec<DebugCacheTurn>§history_capacity: usize§prefix_stability_pct: Option<u32>§prefix_checks_total: u64§prefix_change_count: u64§prefix_drift_count: u64§prefix_context_updates: u64§prefix_pin_reason: Option<String>§prefix_last_miss_reason: Option<String>§last_prefix_change_desc: Option<String>§last_pinned_prefix_hash: Option<String>§api_message_count: usize§non_system_message_count: usizeTrait Implementations§
Source§impl Clone for DebugCacheTelemetry
impl Clone for DebugCacheTelemetry
Source§impl Debug for DebugCacheTelemetry
impl Debug for DebugCacheTelemetry
Source§impl PartialEq for DebugCacheTelemetry
impl PartialEq for DebugCacheTelemetry
impl StructuralPartialEq for DebugCacheTelemetry
Auto Trait Implementations§
impl Freeze for DebugCacheTelemetry
impl RefUnwindSafe for DebugCacheTelemetry
impl Send for DebugCacheTelemetry
impl Sync for DebugCacheTelemetry
impl Unpin for DebugCacheTelemetry
impl UnsafeUnpin for DebugCacheTelemetry
impl UnwindSafe for DebugCacheTelemetry
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