Trait BootstrapLoader

Source
pub trait BootstrapLoader<App, Args: Async>{
    // Required method
    fn load_bootstrap(
        app: &App,
        args: &Args,
    ) -> impl Future<Output = Result<App::Bootstrap, App::Error>> + Send;
}

Required Methods§

Source

fn load_bootstrap( app: &App, args: &Args, ) -> impl Future<Output = Result<App::Bootstrap, App::Error>> + Send

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.

Implementors§

Source§

impl<Component, App, Args: Async> BootstrapLoader<App, Args> for Component