Trait riker::actor::TryTell [−][src]
pub trait TryTell { type Msg: Message; fn try_tell<T>(
&self,
msg: T,
sender: Option<ActorRef<Self::Msg>>
) -> Result<(), TryMsgError<T>>
where
T: Into<ActorMsg<Self::Msg>>; }
Implement to provide possible message routing to actors, e.g. Option<ActorRef>
Associated Types
Required Methods
fn try_tell<T>(
&self,
msg: T,
sender: Option<ActorRef<Self::Msg>>
) -> Result<(), TryMsgError<T>> where
T: Into<ActorMsg<Self::Msg>>,
&self,
msg: T,
sender: Option<ActorRef<Self::Msg>>
) -> Result<(), TryMsgError<T>> where
T: Into<ActorMsg<Self::Msg>>,
Implementations on Foreign Types
impl<Msg: Message> TryTell for Option<ActorRef<Msg>>
[src]
impl<Msg: Message> TryTell for Option<ActorRef<Msg>>