[−][src]Trait riker::actor::CellPublic
ActorCell
public API.
This trait is used by ActorRef
.
Associated Types
Required Methods
fn myself(&self) -> ActorRef<Self::Msg>
Returns the actor's ActorRef
fn parent(&self) -> ActorRef<Self::Msg>
Returns the actor's parent ActorRef
fn children<'a>(&'a self) -> Box<Iterator<Item = ActorRef<Self::Msg>> + 'a>
Returns an iterator for the actor's children references
fn user_root(&self) -> ActorRef<Self::Msg>
fn is_root(&self) -> bool
Implementors
impl<Msg> CellPublic for ActorCell<Msg> where
Msg: Message,
[src]
impl<Msg> CellPublic for ActorCell<Msg> where
Msg: Message,
type Msg = Msg
fn myself(&self) -> ActorRef<Msg>
[src]
fn myself(&self) -> ActorRef<Msg>
fn parent(&self) -> ActorRef<Msg>
[src]
fn parent(&self) -> ActorRef<Msg>
fn children<'a>(&'a self) -> Box<Iterator<Item = ActorRef<Msg>> + 'a>
[src]
fn children<'a>(&'a self) -> Box<Iterator<Item = ActorRef<Msg>> + 'a>
fn user_root(&self) -> ActorRef<Msg>
[src]
fn user_root(&self) -> ActorRef<Msg>
fn is_root(&self) -> bool
[src]
fn is_root(&self) -> bool
fn send_msg(&self, msg: Envelope<Msg>) -> MsgResult<Envelope<Msg>>
[src]
fn send_msg(&self, msg: Envelope<Msg>) -> MsgResult<Envelope<Msg>>
fn send_sys_msg(
&self,
msg: SystemEnvelope<Msg>
) -> MsgResult<SystemEnvelope<Msg>>
[src]
fn send_sys_msg(
&self,
msg: SystemEnvelope<Msg>
) -> MsgResult<SystemEnvelope<Msg>>