[][src]Trait actix::Message

pub trait Message {
    type Result: 'static;
}

Represent message that can be handled by an actor.

Associated Types

type Result: 'static

The type of value that this message will resolved with if it is successful.

Loading content...

Implementations on Foreign Types

impl<M, R: 'static> Message for Arc<M> where
    M: Message<Result = R>, 
[src]

Allow users to use Arc<M> as a message without having to re-impl Message

type Result = R

impl<M, R: 'static> Message for Box<M> where
    M: Message<Result = R>, 
[src]

Allow users to use Box<M> as a message without having to re-impl Message

type Result = R

Loading content...

Implementors

impl Message for Connect[src]

impl Message for ConnectAddr[src]

impl Message for Resolve[src]

Loading content...