pub struct SchemaCacheMetrics {
pub generation: u64,
pub refreshes: u64,
pub array_classification_hits: u64,
pub array_classification_misses: u64,
pub array_classification_evictions: u64,
pub datatype_contradictions: u64,
pub successful_read_recoveries: u64,
pub failed_read_recoveries: u64,
}Expand description
Diagnostics for controller-schema caching and bounded drift recovery.
Fields§
§generation: u64Current clone-shared schema generation.
refreshes: u64Number of explicit comprehensive schema refreshes.
array_classification_hits: u64Array-classification cache hits.
array_classification_misses: u64Array-classification cache misses.
array_classification_evictions: u64Array-classification entries evicted by refresh or contradiction.
datatype_contradictions: u64Responses that contradicted cached schema assumptions.
successful_read_recoveries: u64One-time read recoveries that succeeded.
failed_read_recoveries: u64One-time read recoveries that still failed.
Trait Implementations§
Source§impl Clone for SchemaCacheMetrics
impl Clone for SchemaCacheMetrics
Source§fn clone(&self) -> SchemaCacheMetrics
fn clone(&self) -> SchemaCacheMetrics
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 SchemaCacheMetrics
impl Debug for SchemaCacheMetrics
Source§impl Default for SchemaCacheMetrics
impl Default for SchemaCacheMetrics
Source§fn default() -> SchemaCacheMetrics
fn default() -> SchemaCacheMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaCacheMetrics
impl<'de> Deserialize<'de> for SchemaCacheMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SchemaCacheMetrics
impl RefUnwindSafe for SchemaCacheMetrics
impl Send for SchemaCacheMetrics
impl Sync for SchemaCacheMetrics
impl Unpin for SchemaCacheMetrics
impl UnsafeUnpin for SchemaCacheMetrics
impl UnwindSafe for SchemaCacheMetrics
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