pub trait Callback {
type Output;
fn call(&mut self, instr: &Instrument, event: &Event) -> Self::Output;
}Expand description
Defines a ability to be passed to Instrument::install_handler
Required Associated Types
Required Methods
source
pub trait Callback {
type Output;
fn call(&mut self, instr: &Instrument, event: &Event) -> Self::Output;
}Defines a ability to be passed to Instrument::install_handler