KeyCache

Trait KeyCache 

Source
pub trait KeyCache {
    // Required method
    fn get_keys(
        &self,
    ) -> impl Future<Output = Result<PubKeys, Report<CacheError>>> + Send;
}

Required Methods§

Source

fn get_keys( &self, ) -> impl Future<Output = Result<PubKeys, Report<CacheError>>> + Send

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.

Implementors§

Source§

impl<ClientT: CacheClient> KeyCache for HttpCache<ClientT, PubKeys>