pub trait RouteObserver: Send + Sync {
// Required method
fn switched(&self, switch: &ProviderSwitch);
}Expand description
Told about every ProviderSwitch of a session’s calls.
Required Methods§
fn switched(&self, switch: &ProviderSwitch)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".