[][src]Trait kompact::prelude::Receiver

pub trait Receiver<T> {
    fn recipient(&self) -> Recipient<T>;
}

A factory trait for recipients

This trait is blanket implemented for all ActorRefFactory implementations where the message type is From<T>.

Required methods

fn recipient(&self) -> Recipient<T>

Produce a recipient for T

Loading content...

Implementors

impl<M, T, A> Receiver<T> for A where
    T: Debug + 'static,
    M: From<T> + MessageBounds,
    A: ActorRefFactory<Message = M>, 
[src]

impl<T> Receiver<T> for Recipient<T>[src]

Loading content...