Skip to main content

StoreHealth

Trait StoreHealth 

Source
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§

Source

type Snapshot

Value type used for snapshot.

Required Methods§

Source

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".

Implementors§