fedimint_server::net::api

Type Alias ApiResult

Source
pub type ApiResult<T> = Result<T, ApiError>;

Aliased Type§

enum ApiResult<T> {
    Ok(T),
    Err(ApiError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ApiError)

Contains the error value