CallOutcomeSink

Trait CallOutcomeSink 

Source
pub trait CallOutcomeSink: Send + Sync {
    // Required method
    fn record(&self, outcome: CallOutcome);
}
Expand description

Observer trait used to capture call outcomes (for logging, metrics, etc.).

Required Methods§

Source

fn record(&self, outcome: CallOutcome)

Records the outcome of a call invocation.

Implementors§