[][src]Trait ak::addr::Envelope

pub trait Envelope<A: Actor>: Send {
    fn open<'life0, 'async_trait>(
        self: Box<Self>,
        ctx: &'life0 mut Context<A>
    ) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn boxed(self) -> BoxEnvelope<A>
    where
        Self: Sized + 'static
, { ... } }

Required methods

fn open<'life0, 'async_trait>(
    self: Box<Self>,
    ctx: &'life0 mut Context<A>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Provided methods

fn boxed(self) -> BoxEnvelope<A> where
    Self: Sized + 'static, 

Loading content...

Implementors

impl<A, M> Envelope<A> for MessageEnvelope<A, M> where
    A: Actor + Handler<M>,
    M: Message + Send + 'static,
    M::Result: Send + 'static, 
[src]

Loading content...