Struct actix::Unsync [] [src]

pub struct Unsync;

Unsync destination of the actor

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

Trait Implementations

impl<T, A, M> ToEnvelope<Unsync, A, M> for T where
    A: Actor<Context = T> + Handler<M>,
    M: Message + 'static,
    T: AsyncContext<A>, 
[src]

[src]

Pack message into suitable envelope

impl<A: Actor> Destination<A> for Unsync where
    A::Context: AsyncContext<A>, 
[src]

[src]

Indicates if actor is still alive

impl<A, M> MessageDestination<A, M> for Unsync where
    M: Message + 'static,
    A: Handler<M>,
    A::Context: AsyncContext<A> + ToEnvelope<Self, A, M>, 
[src]

[src]

Send message unconditionally

[src]

Send asynchronous message and wait for response.

[src]

Try send message

[src]

Get recipient for specific message type.

impl<M> MessageRecipient<M> for Unsync where
    M: Message + 'static, 
[src]

[src]

Send message unconditionally Read more

[src]

Send asynchronous message and wait for response. Read more

[src]

Try send message Read more

[src]

Clone transport

Auto Trait Implementations

impl Send for Unsync

impl Sync for Unsync