pub struct FixedLimit { /* private fields */ }Expand description
fixed bucket
let b = FixedBucket::new(600, 10).bucket(90, 10.0) b.allow(unique value) // booleanImplementations§
Auto Trait Implementations§
impl Freeze for FixedLimit
impl RefUnwindSafe for FixedLimit
impl Send for FixedLimit
impl Sync for FixedLimit
impl Unpin for FixedLimit
impl UnwindSafe for FixedLimit
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