Struct actix::Addr [] [src]

pub struct Addr<T: Destination<A>, A> { /* fields omitted */ }

Address of the actor

Methods

impl<T: Destination<A>, A> Addr<T, A>
[src]

[src]

[src]

Indicates if actor is still alive

[src]

Sendm message unconditionally

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

[src]

Send asynchronous message and wait for response.

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

[src]

Try send message

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

[src]

Get Recipient for specific message type

Trait Implementations

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

[src]

impl<A: Actor> Send for Addr<Syn, A>
[src]

impl<A: Actor> Sync for Addr<Syn, A>
[src]

impl<T: Destination<A>, A> Clone for Addr<T, A>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more