Skip to main content

OnApplicationBootstrap

Trait OnApplicationBootstrap 

Source
pub trait OnApplicationBootstrap: Construct<Scope: HookCapable> {
    const TIMEOUT: Bound = Bound::Default;

    // Required method
    fn on_application_bootstrap(
        &self,
    ) -> impl Future<Output = Result<(), BoxError>> + Send;
}

Provided Associated Constants§

Source

const TIMEOUT: Bound = Bound::Default

Required Methods§

Source

fn on_application_bootstrap( &self, ) -> impl Future<Output = Result<(), BoxError>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§