[][src]Enum governor::state::direct::NotKeyed

pub enum NotKeyed {
    NonKey,
}

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

impl Debug for NotKeyed[src]

impl Eq for NotKeyed[src]

impl PartialEq<NotKeyed> for NotKeyed[src]

impl StructuralEq for NotKeyed[src]

impl StructuralPartialEq for NotKeyed[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,