Type Alias iota_types::error::IotaResult

source ·
pub type IotaResult<T = ()> = Result<T, IotaError>;

Aliased Type§

enum IotaResult<T = ()> {
    Ok(T),
    Err(IotaError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(IotaError)

Contains the error value