pub trait PreKeyRegistry<ID, KB> {
type State: Debug + Serialize + for<'a> Deserialize<'a>;
type Error: Error;
// Required method
fn key_bundle(
y: Self::State,
id: &ID,
) -> Result<(Self::State, Option<KB>), Self::Error>;
}Expand description
Manages public key bundles of other members.
Required Associated Types§
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.