PublicKeySearch

Trait PublicKeySearch 

Source
pub trait PublicKeySearch: Send + Sync {
    // Required method
    fn search_public_key<'life0, 'life1, 'async_trait>(
        &'life0 self,
        sign: &'life1 Signature,
    ) -> Pin<Box<dyn Future<Output = BuckyResult<&PublicKey>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn search_public_key<'life0, 'life1, 'async_trait>( &'life0 self, sign: &'life1 Signature, ) -> Pin<Box<dyn Future<Output = BuckyResult<&PublicKey>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§