pub trait Application {
// Required method
fn new(ctx: &mut Context) -> impl Future<Output = impl Drawable>;
// Provided methods
fn services() -> ServiceList { ... }
fn plugins(_ctx: &mut Context) -> Vec<Box<dyn Plugin>> { ... }
}Expand description
Required Methods§
Provided Methods§
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.