pub struct LSPErrorCodes(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl LSPErrorCodes
impl LSPErrorCodes
pub const REQUEST_FAILED: i32 = -32803
pub const SERVER_CANCELLED: i32 = -32802
pub const CONTENT_MODIFIED: i32 = -32801
pub const REQUEST_CANCELLED: i32 = -32800
Trait Implementations§
Source§impl Clone for LSPErrorCodes
impl Clone for LSPErrorCodes
Source§fn clone(&self) -> LSPErrorCodes
fn clone(&self) -> LSPErrorCodes
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 LSPErrorCodes
impl Debug for LSPErrorCodes
Source§impl<'de> Deserialize<'de> for LSPErrorCodes
impl<'de> Deserialize<'de> for LSPErrorCodes
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
impl Eq for LSPErrorCodes
Source§impl Hash for LSPErrorCodes
impl Hash for LSPErrorCodes
Source§impl PartialEq for LSPErrorCodes
impl PartialEq for LSPErrorCodes
Source§fn eq(&self, other: &LSPErrorCodes) -> bool
fn eq(&self, other: &LSPErrorCodes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LSPErrorCodes
impl Serialize for LSPErrorCodes
impl StructuralPartialEq for LSPErrorCodes
Auto Trait Implementations§
impl Freeze for LSPErrorCodes
impl RefUnwindSafe for LSPErrorCodes
impl Send for LSPErrorCodes
impl Sync for LSPErrorCodes
impl Unpin for LSPErrorCodes
impl UnsafeUnpin for LSPErrorCodes
impl UnwindSafe for LSPErrorCodes
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