Skip to main content

ModelRoutingEventSink

Trait ModelRoutingEventSink 

Source
pub trait ModelRoutingEventSink: Send + Sync {
    // Required method
    fn emit(&self, event: ModelRoutingEvent);
}
Expand description

Receives routing lifecycle events without exposing provider error payloads.

Required Methods§

Source

fn emit(&self, event: ModelRoutingEvent)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§