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

Returns the actor's ActorRef

Returns the actor's parent ActorRef

Important traits for Box<R>

Returns an iterator for the actor's children references

Implementors