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.
Implementors§
Source§impl GetMessageKind for DapMessage
Available on crate feature dap only.
impl GetMessageKind for DapMessage
Available on crate feature
dap only.const MESSAGE_KIND: MessageKind = MessageKind::Dap
Source§impl GetMessageKind for LspMessage
Available on crate feature lsp only.
impl GetMessageKind for LspMessage
Available on crate feature
lsp only.