Skip to main content

Resolver

Trait Resolver 

Source
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§

Source

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".

Implementations on Foreign Types§

Source§

impl Resolver for DustResolver

Source§

impl Resolver for Resolver

Source§

impl Resolver for ZswapResolver

Implementors§