pub trait Callback {
type Output;
// Required method
fn call(&mut self, instr: &Instrument, event: &Event) -> Self::Output;
}Expand description
Defines the ability for being passed to Instrument::install_handler
pub trait Callback {
type Output;
// Required method
fn call(&mut self, instr: &Instrument, event: &Event) -> Self::Output;
}Defines the ability for being passed to Instrument::install_handler