Trait riker::actor::CellPublic [−][src]
pub trait CellPublic { type Msg: Message; fn myself(&self) -> ActorRef<Self::Msg>; fn parent(&self) -> ActorRef<Self::Msg>; fn children<'a>(&'a self) -> Box<Iterator<Item = ActorRef<Self::Msg>> + 'a>; fn user_root(&self) -> ActorRef<Self::Msg>; fn is_root(&self) -> bool; }
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
ⓘImportant traits for Box<R>
fn children<'a>(&'a self) -> Box<Iterator<Item = ActorRef<Self::Msg>> + 'a>
Returns an iterator for the actor's children references