pub struct ShrinkFastGrowSlow { /* private fields */ }Expand description
FairShare’s division, applied asymmetrically: a cut lands at once, an
increase is ramped at most step units per interval. The safety shape
of a shared power or bandwidth budget — a holder must never be granted
more than the budget can carry, so reductions cannot wait, while a holder
drawing more can wait for the others to have backed off.
Implementations§
Trait Implementations§
Source§impl BudgetPolicy for ShrinkFastGrowSlow
impl BudgetPolicy for ShrinkFastGrowSlow
Auto Trait Implementations§
impl !Freeze for ShrinkFastGrowSlow
impl !RefUnwindSafe for ShrinkFastGrowSlow
impl Send for ShrinkFastGrowSlow
impl Sync for ShrinkFastGrowSlow
impl Unpin for ShrinkFastGrowSlow
impl UnsafeUnpin for ShrinkFastGrowSlow
impl UnwindSafe for ShrinkFastGrowSlow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more