pub enum LspMessage {
Request(JsonRpcRequest),
Response(JsonRpcResponse),
Notification(JsonRpcNotification),
}Expand description
LSP message (can be request, response, or notification)
Variants§
Request(JsonRpcRequest)
Request message
Response(JsonRpcResponse)
Response message
Notification(JsonRpcNotification)
Notification message
Implementations§
Trait Implementations§
Source§impl Clone for LspMessage
impl Clone for LspMessage
Source§fn clone(&self) -> LspMessage
fn clone(&self) -> LspMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LspMessage
impl RefUnwindSafe for LspMessage
impl Send for LspMessage
impl Sync for LspMessage
impl Unpin for LspMessage
impl UnwindSafe for LspMessage
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