Type Definition governor::state::keyed::DashMapStateStore[][src]

pub type DashMapStateStore<K> = DashMap<K, InMemoryState>;
Expand description

A concurrent, thread-safe and fairly performant hashmap based on DashMap.

Trait Implementations

Remove those keys with state older than drop_below.

Shrinks the capacity of the state store, if possible. Read more

Returns the number of “live” keys stored in the state store. Read more

Returns true if self has no keys stored in it. Read more

The type of key that the state store can represent.

Updates a state store’s rate limiting state for a given key, using the given closure. Read more