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§
Sourcefn record(&self, outcome: CallOutcome)
fn record(&self, outcome: CallOutcome)
Records the outcome of a call invocation.