pub fn on_start<F>(&mut self, fut: F)
    where
        F: Future<Output = ()> + 'static,
    {
        self.onstart.push(fut.boxed_local())
    }
/// Execute future before services initialization.
Execute future before services initialization.
Execute future before services initialization .
pub fn on_start<F>(&mut self, fut: F)
    where
        F: Future<Output = ()> + 'static,
    {
        self.onstart.push(fut.boxed_local())
    }
pub fn on_start < F > ( & mut self , fut : F ) where F : Future < Output = ( ) > + ' static , { self . onstart . push ( fut . boxed_local ( ) ) }
Execute future before services initialization.
Execute future before services initialization .
&mut self
fut
F
&mut self
fut
F