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 StateStore
s with hashable (Eq + Hash + Clone
) key
associated types.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.