pub type LspMessage = Message;Expand description
The common message type for the LSP protocol.
Aliased Type§
pub enum LspMessage {
Request(Request),
Response(Response),
Notification(Notification),
}Variants§
Request(Request)
Request messages
Response(Response)
Response messages
Notification(Notification)
Notification messages
Trait Implementations§
Source§impl GetMessageKind for LspMessage
Available on crate feature lsp only.
impl GetMessageKind for LspMessage
Available on crate feature
lsp only.Source§fn get_message_kind() -> MessageKind
fn get_message_kind() -> MessageKind
Returns the kind of the message.