Skip to main content

ProbeFn

Type Alias ProbeFn 

Source
pub type ProbeFn = dyn Fn() -> Value + Send + Sync + 'static;
Expand description

A named closure that returns a snapshot of application-specific backend state as JSON. Registered via VictauriBuilder::probe.