Trait meio::handlers::Eliminated[][src]

pub trait Eliminated<A: Actor>: Actor {
    #[must_use]
    fn handle<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        id: IdOf<A>,
        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
; }

Listens for spawned actors finished.

Required methods

#[must_use]
fn handle<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    id: IdOf<A>,
    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, 
[src]

Called when the Actor finished.

Loading content...

Implementors

impl<T: Actor> Eliminated<T> for System[src]

fn handle<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    _id: IdOf<T>,
    _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, 
[src]

Loading content...