Struct actix::SyncAddress [] [src]

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

Send address of the actor. Actor can run in different thread

Methods

impl<A> SyncAddress<A> where
    A: Actor
[src]

[src]

Indicates if address is still connected to the actor.

[src]

Send message M to actor A. Message cold be sent to actor running in different thread.

[src]

Send message to actor A and asynchronously wait for response.

if returned Request object get dropped, message cancels.

[src]

Send message to actor A and asynchronously wait for response.

if returned Receiver object get dropped, message cancels.

[src]

Get Subscriber for specific message type

Trait Implementations

impl<A> Send for SyncAddress<A> where
    A: Actor
[src]

impl<A> Sync for SyncAddress<A> where
    A: Actor
[src]

impl<A> Clone for SyncAddress<A> where
    A: Actor
[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 SyncAddress<A> where
    A: Actor + Handler<M>,
    <A as Actor>::Context: ToEnvelope<A>,
    M: ResponseType + Send + 'static,
    M::Item: Send,
    M::Error: Send
[src]

[src]

Send buffered message