Struct jsonrpc_client::RpcResponse [−][src]
Fields
id: String
result: Option<R>
error: Option<RpcError>
Methods
impl<R> RpcResponse<R>
[src]
impl<R> RpcResponse<R>
Trait Implementations
impl<R: Debug> Debug for RpcResponse<R>
[src]
impl<R: Debug> Debug for RpcResponse<R>
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<R: PartialEq> PartialEq for RpcResponse<R>
[src]
impl<R: PartialEq> PartialEq for RpcResponse<R>
fn eq(&self, other: &RpcResponse<R>) -> bool
[src]
fn eq(&self, other: &RpcResponse<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RpcResponse<R>) -> bool
[src]
fn ne(&self, other: &RpcResponse<R>) -> bool
This method tests for !=
.
impl<R> Into<StdResult<R, RpcError>> for RpcResponse<R>
[src]
impl<R> Into<StdResult<R, RpcError>> for RpcResponse<R>
Auto Trait Implementations
impl<R> Send for RpcResponse<R> where
R: Send,
impl<R> Send for RpcResponse<R> where
R: Send,
impl<R> Sync for RpcResponse<R> where
R: Sync,
impl<R> Sync for RpcResponse<R> where
R: Sync,