pub enum RpcErrorCodes {
PARSE_ERROR = -32_700,
INVALID_REQUEST = -32_600,
METHOD_NOT_FOUND = -32_601,
INVALID_PARAMS = -32_602,
INTERNAL_ERROR = -32_603,
HEADER_MISMATCH = -32_020,
MISSING_REQUIRED_CLIENT_CAPABILITY = -32_021,
UNSUPPORTED_PROTOCOL_VERSION = -32_022,
}Variants§
PARSE_ERROR = -32_700
INVALID_REQUEST = -32_600
METHOD_NOT_FOUND = -32_601
INVALID_PARAMS = -32_602
INTERNAL_ERROR = -32_603
HEADER_MISMATCH = -32_020
MISSING_REQUIRED_CLIENT_CAPABILITY = -32_021
UNSUPPORTED_PROTOCOL_VERSION = -32_022
Trait Implementations§
Source§impl From<RpcErrorCodes> for i64
impl From<RpcErrorCodes> for i64
Source§fn from(code: RpcErrorCodes) -> Self
fn from(code: RpcErrorCodes) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcErrorCodes
impl RefUnwindSafe for RpcErrorCodes
impl Send for RpcErrorCodes
impl Sync for RpcErrorCodes
impl Unpin for RpcErrorCodes
impl UnsafeUnpin for RpcErrorCodes
impl UnwindSafe for RpcErrorCodes
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