Trait CanLoadBootstrap

Source
pub trait CanLoadBootstrap<Args: Async>: HasBootstrapType + HasErrorType {
    // Required method
    fn load_bootstrap(
        &self,
        args: &Args,
    ) -> impl Future<Output = Result<Self::Bootstrap, Self::Error>> + Send;
}

Required Methods§

Source

fn load_bootstrap( &self, args: &Args, ) -> impl Future<Output = Result<Self::Bootstrap, Self::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<App, Args: Async> CanLoadBootstrap<Args> for App