pub trait KeyedState: Send + Sync {
// Required methods
fn key(&self) -> &[u8] ⓘ;
fn clear(&self) -> impl Future<Output = Result<()>> + Send;
}Expand description
Keyed state trait.
Required Methods§
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.