pub struct Gcra { /* private fields */ }Expand description
GCRA parameters for one limit, in microseconds. emission_interval is the steady-state time
per request (period / count); tolerance is how far the TAT may run ahead of now before a
request is rejected (emission_interval * burst), i.e. the burst allowance.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gcra
impl RefUnwindSafe for Gcra
impl Send for Gcra
impl Sync for Gcra
impl Unpin for Gcra
impl UnsafeUnpin for Gcra
impl UnwindSafe for Gcra
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