pub trait Message {
type Result: 'static;
}
Expand description
Represent message that can be handled by an actor.
Required Associated Types§
Implementations on Foreign Types§
Source§impl<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
Source§impl<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