Trait tractor::ActorHooksAsync[][src]

pub trait ActorHooksAsync: Actor {
#[must_use]    fn started<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        _ctx: &'life1 Context<Self>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: Send + 'async_trait
, { ... }
#[must_use] fn stopped<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: Send + 'async_trait
, { ... } }

Provided methods

#[must_use]fn started<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    _ctx: &'life1 Context<Self>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: Send + 'async_trait, 
[src]

#[must_use]fn stopped<'life0, 'async_trait>(
    &'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: Send + 'async_trait, 
[src]

Loading content...

Implementors

impl<T: ActorHooks> ActorHooksAsync for T[src]

Default implementation for ActorHooksAsync given ActorHooks

Loading content...