Type Alias gear_common::gas_provider::ConsumeResultOf

source ·
pub type ConsumeResultOf<T> = Result<Option<(<T as Tree>::NegativeImbalance, GasMultiplier<<T as Tree>::Funds, <T as Tree>::Balance>, <T as Tree>::ExternalOrigin)>, <T as Tree>::Error>;
Expand description

Simplified type for result of GasTree::consume call.

Aliased Type§

enum ConsumeResultOf<T> {
    Ok(Option<(<T as Tree>::NegativeImbalance, GasMultiplier<<T as Tree>::Funds, <T as Tree>::Balance>, <T as Tree>::ExternalOrigin)>),
    Err(<T as Tree>::Error),
}

Variants§

§1.0.0

Ok(Option<(<T as Tree>::NegativeImbalance, GasMultiplier<<T as Tree>::Funds, <T as Tree>::Balance>, <T as Tree>::ExternalOrigin)>)

Contains the success value

§1.0.0

Err(<T as Tree>::Error)

Contains the error value