Struct jsonrpc::error::RpcError [−][src]
A JSONRPC error object
Fields
code: i32
The integer identifier of the error
message: String
A string describing the error
data: Option<Value>
Additional data specific to the error
Trait Implementations
impl From<RpcError> for Error
[src]
impl From<RpcError> for Error
impl Clone for RpcError
[src]
impl Clone for RpcError
fn clone(&self) -> RpcError
[src]
fn clone(&self) -> RpcError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for RpcError
[src]
impl Debug for RpcError
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 PartialEq for RpcError
[src]
impl PartialEq for RpcError