pub trait RegistryDeserializesTo: Deserialize {
// Required method
fn get_for_registry<'a>(
registries: &'a RegistryHolder,
registry_name: &'static str,
protocol_id: u32,
) -> Option<(&'a Identifier, &'a Self)>;
}Required Methods§
fn get_for_registry<'a>( registries: &'a RegistryHolder, registry_name: &'static str, protocol_id: u32, ) -> Option<(&'a Identifier, &'a Self)>
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.