pub trait DeserializeKey<T: KeyTag>: Sized {
// Required method
fn try_from_key(
key: <T::Impl as KeyTagImpl>::Key<'_>,
) -> Result<Self, DeserializeError>;
}Required Methods§
fn try_from_key( key: <T::Impl as KeyTagImpl>::Key<'_>, ) -> Result<Self, DeserializeError>
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.