[][src]Trait indy_utils::pack::KeyLookup

pub trait KeyLookup: Sync {
    fn find<'f>(
        &'f self,
        key: &'f Vec<EncodedVerKey>
    ) -> Pin<Box<dyn Future<Output = Option<(usize, SignKey)>> + Send + 'f>>; }

A trait for custom key lookup implementations used by unpack

Required methods

fn find<'f>(
    &'f self,
    key: &'f Vec<EncodedVerKey>
) -> Pin<Box<dyn Future<Output = Option<(usize, SignKey)>> + Send + 'f>>

Loading content...

Implementors

Loading content...