fedimint_api_client::api

Type Alias JsonRpcResult

Source
pub type JsonRpcResult<T> = Result<T, JsonRpcClientError>;

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value