Trait Serves

Source
pub trait Serves {
    // Required method
    fn services(&self) -> Vec<Box<dyn Service>>;
}

Required Methods§

Source

fn services(&self) -> Vec<Box<dyn Service>>

Returns the services that should run for the entire life of the app.

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

Implementors§