pub trait Resolver {
// Required method
async fn resolve_key(
&self,
key: KeyLocation,
) -> Result<Option<ProvingKeyMaterial>, Error>;
}Expand description
A mechanism to retrieve / resolve zero-knowledge key material from a short location string.
Required Methods§
Sourceasync fn resolve_key(
&self,
key: KeyLocation,
) -> Result<Option<ProvingKeyMaterial>, Error>
async fn resolve_key( &self, key: KeyLocation, ) -> Result<Option<ProvingKeyMaterial>, Error>
Resolves the given key to the key material it represents, if available.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".