Struct actix::Addr[][src]

pub struct Addr<A: Actor> { /* fields omitted */ }

Address of the actor

Methods

impl<A: Actor> Addr<A>
[src]

Indicates if actor is still alive

Send message unconditionally

This method ignores actor's mailbox capacity, it silently fails if mailbox is closed.

Try send message

This method fails if actor's mailbox is full or closed. This method register current task in receivers queue.

Send asynchronous message and wait for response.

Communication channel to the actor is bounded. if returned Future object get dropped, message cancels.

Get Recipient for specific message type

Trait Implementations

impl<A, M, B> MessageResponse<A, M> for Addr<B> where
    A: Actor,
    M: Message<Result = Addr<B>>,
    B: Actor<Context = Context<B>>, 
[src]

impl<A: Actor> Clone for Addr<A>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: Actor> PartialEq for Addr<A>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<A: Actor> Eq for Addr<A>
[src]

impl<A: Actor> Hash for Addr<A>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<A> Send for Addr<A>

impl<A> Sync for Addr<A>