Trait Message
Source pub trait Message: 'static + Send {
type Result: 'static + Send;
}
Expand description
Represents a message that can be handled by the actor.
The return value type of the message
This type can be set to () if the message does not return a value, or if it is a notification message