[][src]Struct riker::actor::ActorCell

pub struct ActorCell<Msg: Message> { /* fields omitted */ }

Methods

impl<Msg> ActorCell<Msg> where
    Msg: Message
[src]

Constructs a new ActorCell

Trait Implementations

impl<Msg> CellInternal for ActorCell<Msg> where
    Msg: Message
[src]

Return the system's dead letters reference.

Return the actor's persistence configuration.

Returns true if the actor is currently in a state of persisting.

Sets the persisting status of the actor. Read more

Invoked when an actor receives an Identify message. Read more

Adds a child under this actor.

Send an ActorCmd::Stop to the given actor.

Invoked when the actor receives a command. Read more

Terminate the actor associated with this ActorCell. Read more

Restart the actor associated with this ActorCell Read more

Invoked when a child actor is terminated. Read more

Invoked when a child actor fails (panics). Read more

Invoked when the supervision strategy restarts a child actor.

Invoked when the supervision strategy escalates an actor's failure.

Invoked to query an actor's events during actor start. Read more

Invoked during actor start to complete actor initialization. Read more

impl<Msg> CellPublic for ActorCell<Msg> where
    Msg: Message
[src]

Returns the actor's ActorRef

Returns the actor's parent ActorRef

Returns an iterator for the actor's children references

impl<Msg> TmpActorRefFactory for ActorCell<Msg> where
    Msg: Message
[src]

impl<Msg> ExecutionContext for ActorCell<Msg> where
    Msg: Message
[src]

impl<'a, Msg> From<&'a ActorCell<Msg>> for Context<Msg> where
    Msg: Message
[src]

Performs the conversion.

impl<Msg: Clone + Message> Clone for ActorCell<Msg>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Msg> Debug for ActorCell<Msg> where
    Msg: Message
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<Msg> Send for ActorCell<Msg>

impl<Msg> Sync for ActorCell<Msg>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.