pub trait ServiceProvider<C: Contract>: Send + Sync {
// Provided methods
fn register(&self, container: &C) { ... }
fn boot(&self, container: &C) { ... }
}Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".