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§
Ok(Option<(<T as Tree>::NegativeImbalance, GasMultiplier<<T as Tree>::Funds, <T as Tree>::Balance>, <T as Tree>::ExternalOrigin)>)
Contains the success value
Err(<T as Tree>::Error)
Contains the error value