pub trait Message {
type Result: 'static;
}
Expand description
Represent message that can be handled by an actor.
Associated Types
Implementations on Foreign Types
sourceimpl<M> Message for Arc<M> where
M: Message,
impl<M> Message for Arc<M> where
M: Message,
Allow users to use Arc<M>
as a message without having to re-impl Message
sourceimpl<M> Message for Box<M> where
M: Message,
impl<M> Message for Box<M> where
M: Message,
Allow users to use Box<M>
as a message without having to re-impl Message