referrerpolicy=no-referrer-when-downgrade

Type Alias substrate_rpc_client::RpcResult

pub type RpcResult<T> = Result<T, ErrorObject<'static>>;
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