Enum jsonrpc::method_types::RequestResult [] [src]

pub enum RequestResult<RET, RET_ERROR> {
    MethodResult(MethodResult<RET, RET_ERROR>),
    RequestError(RequestError),
}

Variants

Methods

impl<RET, RET_ERROR> RequestResult<RET, RET_ERROR>
[src]

Trait Implementations

impl<RET: Debug, RET_ERROR: Debug> Debug for RequestResult<RET, RET_ERROR>
[src]

Formats the value using the given formatter.

impl<RET: PartialEq, RET_ERROR: PartialEq> PartialEq for RequestResult<RET, RET_ERROR>
[src]

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

This method tests for !=.

impl<RET: Deserialize, RET_ERROR: Deserialize> From<ResponseResult> for RequestResult<RET, RET_ERROR>
[src]

Performs the conversion.