pub struct Manager { /* fields omitted */ }
Expand description
A manager for components and auxiliary services.
Implementations
Loads the given config file.
Parses the given file as a TOML config file. All links to units referenced in the configuration are pre-connected.
If there are any errors in the config file, they are logged as errors and a generic error is returned.
If the method succeeds, you need to spawn all units and targets via
the spawn
method.
Spawns all units and targets in the config unto the given runtime.
Panics
The method panics if the config hasn’t been successfully loaded via the same manager earlier.
Returns a new reference to the manager’s metrics collection.
Returns a new reference the the HTTP resources collection.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Manager
impl !UnwindSafe for Manager
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more