pub enum Admit {
Add,
Stop,
}Expand description
Decision returned by the controller after each probe interval.
Variants§
Add
Open one more connection to this source and keep probing.
Stop
Saturated: the last admission did not pay for itself. Settle here.
Trait Implementations§
impl Copy for Admit
impl Eq for Admit
impl StructuralPartialEq for Admit
Auto Trait Implementations§
impl Freeze for Admit
impl RefUnwindSafe for Admit
impl Send for Admit
impl Sync for Admit
impl Unpin for Admit
impl UnsafeUnpin for Admit
impl UnwindSafe for Admit
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