Enum jsonrpc::jsonrpc_response::ResponseResult [] [src]

pub enum ResponseResult {
    Result(Value),
    Error(RequestError),
}

The result-or-error part of JSON RPC response.

Variants

Methods

impl ResponseResult
[src]

Trait Implementations

impl Debug for ResponseResult
[src]

Formats the value using the given formatter.

impl PartialEq for ResponseResult
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for ResponseResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<RET, RET_ERROR> From<MethodResult<RET, RET_ERROR>> for ResponseResult where
    RET: Serialize,
    RET_ERROR: Serialize
[src]

Performs the conversion.