pub trait AdminSnapshotProvider:
Send
+ Sync
+ 'static {
// Required method
fn snapshot(&self) -> AdminSnapshot;
}Expand description
Source of admin-visible live data. Implemented by the runtime so that reloads immediately take effect on admin endpoints.
Required Methods§
fn snapshot(&self) -> AdminSnapshot
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".