pub struct EntryId(pub usize);Expand description
Represents a unique Id for a bucket within one invocation of the cardinality limiter.
Opaque data structure used by CardinalityLimiter to track
which buckets have been accepted and rejected.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Ord for EntryId
 
impl Ord for EntryId
Source§impl PartialOrd for EntryId
 
impl PartialOrd for EntryId
impl Copy for EntryId
impl Eq for EntryId
impl StructuralPartialEq for EntryId
Auto Trait Implementations§
impl Freeze for EntryId
impl RefUnwindSafe for EntryId
impl Send for EntryId
impl Sync for EntryId
impl Unpin for EntryId
impl UnwindSafe for EntryId
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.