pub struct LSPError {
pub message: String,
pub code: i32,
pub data: Option<Value>,
}
Expand description
Implementation of Response Error Response Error
message
: Error messagecode
: Error codedata
: LSPAny
Fields§
§message: String
§code: i32
§data: Option<Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LSPError
impl<'de> Deserialize<'de> for LSPError
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 LSPError
impl RefUnwindSafe for LSPError
impl Send for LSPError
impl Sync for LSPError
impl Unpin for LSPError
impl UnwindSafe for LSPError
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