pub enum NotKeyed {
NonKey,
}
Expand description
The “this state store does not use keys” key type.
It’s possible to use this to create a “direct” rate limiter. It explicitly does not implement
Hash
so that it is possible to tell apart from “hashable” key types.
Variants§
NonKey
The value given to state stores’ methods.
Trait Implementations§
source§impl PartialEq for NotKeyed
impl PartialEq for NotKeyed
impl Eq for NotKeyed
impl StructuralPartialEq for NotKeyed
Auto Trait Implementations§
impl Freeze for NotKeyed
impl RefUnwindSafe for NotKeyed
impl Send for NotKeyed
impl Sync for NotKeyed
impl Unpin for NotKeyed
impl UnwindSafe for NotKeyed
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