pub trait Message: 'static + Send {
type Response: Send;
}Expand description
A trait to bind the message and its respective response type.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".