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

Implementors