pub enum Message {
Lsp(LspMessage),
Dap(DapMessage),
}
Expand description
The common message type for the language server.
Variants§
Implementations§
Trait Implementations§
Source§impl From<Notification> for Message
impl From<Notification> for Message
Source§fn from(notification: Notification) -> Message
fn from(notification: Notification) -> Message
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more