[−][src]Trait riker::actor::CellPublic
ActorCell
public API.
This trait is used by ActorRef
.
Associated Types
Loading content...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<dyn 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 parent(&self) -> ActorRef<Msg> | [src] |
fn children<'a>(&'a self) -> Box<dyn Iterator<Item = ActorRef<Msg>> + 'a> | [src] |
fn user_root(&self) -> ActorRef<Msg> | [src] |
fn is_root(&self) -> bool | [src] |
fn send_msg(&self, msg: Envelope<Msg>) -> MsgResult<Envelope<Msg>> | [src] |
fn send_sys_msg( | [src] |