solana_client::rpc_response

Type Alias RpcResult

Source
pub type RpcResult<T> = Result<Response<T>, Error>;

Aliased Type§

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

Variants§

§1.0.0

Ok(Response<T>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value