Skip to main content

Start

Trait Start 

Source
pub trait Start: Module {
    type Error;

    // Required method
    fn start(&mut self, context: &LifecycleContext) -> Result<(), Self::Error>;
}
Expand description

Opts a module into activation after initialization succeeds.

Required Associated Types§

Source

type Error

An implementation-defined activation error.

Required Methods§

Source

fn start(&mut self, context: &LifecycleContext) -> Result<(), Self::Error>

Activates the module for its selected process.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§