pub trait ToVerifiableCache {
// Required methods
fn find(
&self,
account_id: &AccountId,
vk_hash: &Fp,
) -> Option<&VerificationKeyWire>;
fn add(&mut self, account_id: AccountId, vk: VerificationKeyWire);
}Required Methods§
fn find( &self, account_id: &AccountId, vk_hash: &Fp, ) -> Option<&VerificationKeyWire>
fn add(&mut self, account_id: AccountId, vk: VerificationKeyWire)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".