Enum jsonrpc::error::Error[][src]

pub enum Error {
    Json(Error),
    Hyper(Error),
    Rpc(RpcError),
    NoErrorOrResult,
    NonceMismatch,
    VersionMismatch,
}

A library error

Variants

Json error

Client error

Error response

Response has neither error nor result

Response to a request did not have the expected nonce

Response to a request had a jsonrpc field other than "2.0"

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<RpcError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error