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]

Pack message into suitable envelope

impl<A: Actor> Destination<A> for Unsync where
    A::Context: AsyncContext<A>, 
[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]

Send message unconditionally

Send asynchronous message and wait for response.

Try send message

Get recipient for specific message type.

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

Send message unconditionally Read more

Send asynchronous message and wait for response. Read more

Try send message Read more

Clone transport

Auto Trait Implementations

impl Send for Unsync

impl Sync for Unsync