pub enum ErrorVariant {
RwLockPoisoned,
MethodSignatureNotFound(String),
JsonParseError(JsonError),
InvalidJsonRpcVersion,
InvalidJsonRpcId,
ResponseCannotContainResultAndError,
ResponseMustContainResultOrError,
NoRequestProvided,
IoError(Error),
InternalError,
InternalErrorMessage(String),
}
Variants§
RwLockPoisoned
MethodSignatureNotFound(String)
JsonParseError(JsonError)
InvalidJsonRpcVersion
InvalidJsonRpcId
ResponseCannotContainResultAndError
ResponseMustContainResultOrError
NoRequestProvided
IoError(Error)
InternalError
InternalErrorMessage(String)
Trait Implementations§
Source§impl Debug for ErrorVariant
impl Debug for ErrorVariant
Source§impl Display for ErrorVariant
impl Display for ErrorVariant
Source§impl From<ErrorVariant> for JrpcError
impl From<ErrorVariant> for JrpcError
Source§fn from(error_variant: ErrorVariant) -> Self
fn from(error_variant: ErrorVariant) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ErrorVariant
impl !RefUnwindSafe for ErrorVariant
impl Send for ErrorVariant
impl Sync for ErrorVariant
impl Unpin for ErrorVariant
impl !UnwindSafe for ErrorVariant
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