Struct budget_executor::ReplenishableBudget
source · [−]pub struct ReplenishableBudget { /* private fields */ }
Expand description
An atomic budget storage that can be replenished by other threads or tasks than the one driving the budgeted task.
Implementations
Trait Implementations
sourceimpl Clone for ReplenishableBudget
impl Clone for ReplenishableBudget
sourcefn clone(&self) -> ReplenishableBudget
fn clone(&self) -> ReplenishableBudget
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReplenishableBudget
impl Debug for ReplenishableBudget
sourceimpl Default for ReplenishableBudget
impl Default for ReplenishableBudget
sourcefn default() -> ReplenishableBudget
fn default() -> ReplenishableBudget
Returns the “default value” for a type. Read more
impl Budgetable for ReplenishableBudget
Auto Trait Implementations
impl RefUnwindSafe for ReplenishableBudget
impl Send for ReplenishableBudget
impl Sync for ReplenishableBudget
impl Unpin for ReplenishableBudget
impl UnwindSafe for ReplenishableBudget
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more