Trait meio::handlers::StartedBy[][src]

pub trait StartedBy<A: Actor>: Actor {
    fn handle<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        ctx: &'life1 mut Context<Self>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

Represents initialization routine of an Actor.

Required methods

It’s an initialization method of the Actor.

Implementors