pub enum Verb {
Start,
Configure,
Restart,
Stop,
}Expand description
Lifecycle verb for rate limiter control.
Variants§
Start
Start the rate limiter.
Configure
Configure without affecting running state.
Restart
Restart (zero all pools and backlog).
Stop
Stop the refill task.
Trait Implementations§
impl Copy for Verb
impl StructuralPartialEq for Verb
Auto Trait Implementations§
impl Freeze for Verb
impl RefUnwindSafe for Verb
impl Send for Verb
impl Sync for Verb
impl Unpin for Verb
impl UnsafeUnpin for Verb
impl UnwindSafe for Verb
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