Skip to main content

AdminSnapshotProvider

Trait AdminSnapshotProvider 

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§