pub trait StoreStateExt {
// Required methods
fn parse<T: DeserializeOwned>(&self) -> Result<T>;
fn try_get<T: DeserializeOwned>(&self, key: impl AsRef<str>) -> Result<T>;
}Required Methods§
Sourcefn parse<T: DeserializeOwned>(&self) -> Result<T>
fn parse<T: DeserializeOwned>(&self) -> Result<T>
Tries to parse the store state as an instance of type T.
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.