ln_gateway::rpc::rpc_client

Type Alias GatewayRpcResult

Source
pub type GatewayRpcResult<T> = Result<T, GatewayRpcError>;

Aliased Type§

enum GatewayRpcResult<T> {
    Ok(T),
    Err(GatewayRpcError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(GatewayRpcError)

Contains the error value