pub trait StoreHealth: Send + Sync {
type Snapshot;
// Required method
fn health_snapshot(&self) -> Self::Snapshot;
}Expand description
Health snapshot capability with an implementation-owned projection.
Required Associated Types§
Required Methods§
Sourcefn health_snapshot(&self) -> Self::Snapshot
fn health_snapshot(&self) -> Self::Snapshot
Returns the current health projection.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".