pub trait StoreCountObserver:
Debug
+ Send
+ Sync {
// Required methods
fn changed(&self);
fn flushed(&self, store: &str, batch_rows: Option<u64>);
}Expand description
Receives counter increments and explicit flush calls at the counting boundary.
The callback must not inspect history or perform work for ordinary increments. Flush observations describe the boundary call, including a call that fails.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".