Trait Budget
trait Budget
For more info about Budget, please see the module-level documentation.
Required Methods
fn deposit(self: &Self)Store a "deposit" in the budget, which will be used to permit future withdrawals.
fn withdraw(self: &Self) -> boolCheck whether there is enough "balance" in the budget to issue a new retry.
If there is not enough, false is returned.
Implementors
impl Budget for TpsBudget