pub trait GetMessageKind {
const MESSAGE_KIND: MessageKind;
}
Expand description
Gets the kind of the message.
Required Associated Constants§
Sourceconst MESSAGE_KIND: MessageKind
const MESSAGE_KIND: MessageKind
Returns the kind of the message.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.