pub trait ApplicationTrait: Default {
// Provided methods
fn register(container: Container) -> Result<Container> { ... }
fn boot() { ... }
fn new() -> Self { ... }
fn run<S: ServiceTrait>(self) -> Result<()>
where Self: Sized { ... }
}Provided Methods§
fn register(container: Container) -> Result<Container>
fn boot()
fn new() -> Self
fn run<S: ServiceTrait>(self) -> Result<()>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.