pub enum ErrorCode {
ParseError = -32_700,
InvalidRequest = -32_600,
MethodNotFound = -32_601,
InvalidParams = -32_602,
InternalError = -32_603,
ServerErrorStart = -32_099,
ServerErrorEnd = -32_000,
ServerNotInitialized = -32_002,
RequestCanceled = -32_800,
ContentModified = -32_801,
ServerCancelled = -32_802,
}
Variants§
ParseError = -32_700
InvalidRequest = -32_600
MethodNotFound = -32_601
InvalidParams = -32_602
InternalError = -32_603
ServerErrorStart = -32_099
ServerErrorEnd = -32_000
ServerNotInitialized = -32_002
RequestCanceled = -32_800
ContentModified = -32_801
ServerCancelled = -32_802
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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