Trait governor::state::keyed::KeyedStateStore

source ·
pub trait KeyedStateStore<K: Hash>: StateStore<Key = K> { }
Expand description

A trait for state stores with one rate limiting state per key.

This is blanket-implemented by all StateStores with hashable (Eq + Hash + Clone) key associated types.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, K> KeyedStateStore<K> for T
where T: StateStore<Key = K>, K: Eq + Clone + Hash,