Trait Initialize

Source
pub trait Initialize {
    // Provided method
    fn init(&self) -> Vec<Arc<dyn Job>> { ... }
}

Provided Methods§

Source

fn init(&self) -> Vec<Arc<dyn Job>>

Returns the jobs that should run once before initializing the long running services.

Calling this function does not run the jobs. You must run them some other way.

Implementors§