Skip to main content

ServiceProvider

Trait ServiceProvider 

Source
pub trait ServiceProvider<C: Contract>: Send + Sync {
    // Provided methods
    fn register(&self, container: &C) { ... }
    fn boot(&self, container: &C) { ... }
}

Provided Methods§

Source

fn register(&self, container: &C)

Source

fn boot(&self, container: &C)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§