pub enum LspMessage {
Request(LspRequest),
Response(LspResponse),
Notification(LspNotification),
}Expand description
LSP JSON-RPC message types.
Variants§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LspMessage
impl Debug for LspMessage
Source§impl<'de> Deserialize<'de> for LspMessage
impl<'de> Deserialize<'de> for LspMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LspMessage
impl RefUnwindSafe for LspMessage
impl Send for LspMessage
impl Sync for LspMessage
impl Unpin for LspMessage
impl UnsafeUnpin 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