Struct jsonrpc::method_types::MethodError
[−]
[src]
pub struct MethodError<DATA> { pub code: u32, pub message: String, pub data: DATA, }
Fields
code: u32
message: String
data: DATA
Methods
impl<DATA> MethodError<DATA>
[src]
Trait Implementations
impl<DATA: Debug> Debug for MethodError<DATA>
[src]
impl<DATA: PartialEq> PartialEq for MethodError<DATA>
[src]
fn eq(&self, __arg_0: &MethodError<DATA>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MethodError<DATA>) -> bool
This method tests for !=
.