Trait ironoxide::search::BlindIndexSearchInitialize
source · [−]pub trait BlindIndexSearchInitialize {
fn create_blind_index<'life0, 'life1, 'async_trait>(
&'life0 self,
group_id: &'life1 GroupId
) -> Pin<Box<dyn Future<Output = Result<EncryptedBlindIndexSalt>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
Trait which gives the ability to create a blind index.
Required Methods
sourcefn create_blind_index<'life0, 'life1, 'async_trait>(
&'life0 self,
group_id: &'life1 GroupId
) -> Pin<Box<dyn Future<Output = Result<EncryptedBlindIndexSalt>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn create_blind_index<'life0, 'life1, 'async_trait>(
&'life0 self,
group_id: &'life1 GroupId
) -> Pin<Box<dyn Future<Output = Result<EncryptedBlindIndexSalt>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Create an index and encrypt it to the provided group_id.