Struct actix::Address [] [src]

pub struct Address<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
{ /* fields omitted */ }

Address of the actor

Actor has to run in the same thread as owner of the address.

Methods

impl<A> Address<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
[src]

[src]

Indicates if address is still connected to the actor.

[src]

Send message M to actor A. Communication channel to the actor is unbuonded.

[src]

Send message to actor A and asyncronously wait for response. Communication channel to the actor is unbuonded.

[src]

Send message to the actor A and asyncronously wait for response.

[src]

Upgrade address to SyncAddress.

[src]

Get Subscriber for specific message type

Trait Implementations

impl<A> Clone for Address<A> where
    A: Actor,
    A::Context: AsyncContext<A>, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<A, M> Subscriber<M> for Address<A> where
    A: Actor + Handler<M>,
    A::Context: AsyncContext<A>,
    M: ResponseType + 'static, 
[src]

[src]

Send buffered message

[src]

Clone subscriber