Type Alias jsonrpc_core::Result

source ·
pub type Result<T> = Result<T, Error>;
Expand description

A Result type.

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

source§

impl From<Output> for Result<Value>

source§

fn from(output: Output) -> CoreResult<Value>

Convert into a result. Will be Ok if it is a Success and Err if Failure.