Enum jsonrpc::error::Error [−][src]
pub enum Error { Json(Error), Hyper(Error), Rpc(RpcError), NoErrorOrResult, NonceMismatch, VersionMismatch, }
A library error
Variants
Json(Error)
Json error
Hyper(Error)
Client error
Rpc(RpcError)
Error response
NoErrorOrResult
Response has neither error nor result
NonceMismatch
Response to a request did not have the expected nonce
VersionMismatch
Response to a request had a jsonrpc field other than "2.0"
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<RpcError> for Error
[src]
impl From<RpcError> for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error