jsonrpc_client_transports

Type Alias RpcResult

Source
pub type RpcResult<T> = Result<T, RpcError>;
Expand description

A result returned by the client.

Aliased Type§

enum RpcResult<T> {
    Ok(T),
    Err(RpcError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(RpcError)

Contains the error value