Trait ReloadSink

Source
pub trait ReloadSink:
    Send
    + Sync
    + 'static {
    // Required method
    fn reload(&self);
}
Expand description

Minimal sink the watcher needs from app state. Implemented by AppState so tests can pass a fake.

Required Methods§

Source

fn reload(&self)

Replace the policy snapshot and bump policy_reload_total.

Implementors§