Type Alias jsonrpsee_core::RpcResult

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

JSON-RPC result.

Aliased Type§

enum RpcResult<T> {
    Ok(T),
    Err(ErrorObject<'static>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ErrorObject<'static>)

Contains the error value