Trait gear_common::gas_provider::Imbalance
source · pub trait Imbalance {
type Balance;
// Required methods
fn peek(&self) -> Self::Balance;
fn apply_to(
&self,
amount: &mut Option<Self::Balance>,
) -> Result<(), ImbalanceError>;
}
Expand description
Represents either added or removed value to/from total supply of the currency.