GetMessageKind

Trait GetMessageKind 

Source
pub trait GetMessageKind {
    const MESSAGE_KIND: MessageKind;
}
Expand description

Gets the kind of the message.

Required Associated Constants§

Source

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.
Source§

const MESSAGE_KIND: MessageKind = MessageKind::Dap

Source§

impl GetMessageKind for LspMessage

Available on crate feature lsp only.
Source§

const MESSAGE_KIND: MessageKind = MessageKind::Lsp