[][src]Trait riker::actor::Tell

pub trait Tell {
    type Msg: Message;
    fn tell<T>(&self, msg: T, sender: Option<ActorRef<Self::Msg>>)
    where
        T: Into<ActorMsg<Self::Msg>>
; }

Associated Types

type Msg: Message

Loading content...

Required methods

fn tell<T>(&self, msg: T, sender: Option<ActorRef<Self::Msg>>) where
    T: Into<ActorMsg<Self::Msg>>, 

Implement to provide message routing to actors, e.g. ActorRef and ActorSelection

Loading content...

Implementors

impl<Msg: Message> Tell for ActorRef<Msg>
[src]

type Msg = Msg

impl<Msg: Message> Tell for ActorSelection<Msg>
[src]

type Msg = Msg

Loading content...