pub trait MessageKey<Key> {
// Required method
fn message_key(&self) -> Key;
}Expand description
The key that Processor used to look up the handlers for a message.
Required Methods§
Sourcefn message_key(&self) -> Key
fn message_key(&self) -> Key
Get the message key.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".