pub enum CapPer {
Each,
Pooled,
}Expand description
Whether a cap limits each participant or the pool together.
Variants§
Each
Each participant in who is limited on their own.
Pooled
The participants in who are limited together, which needs one bucket
zone they all share.
Implementations§
Trait Implementations§
impl Copy for CapPer
impl Eq for CapPer
impl StructuralPartialEq for CapPer
Auto Trait Implementations§
impl Forget for CapPer
impl Freeze for CapPer
impl Move for CapPer
impl RefUnwindSafe for CapPer
impl Send for CapPer
impl Sync for CapPer
impl Unpin for CapPer
impl UnsafeUnpin for CapPer
impl UnwindSafe for CapPer
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