pub trait ExtendedPreKeyStore {
// Required methods
fn pre_key_count<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = usize> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn clear_all_pre_keys<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_max_pre_key_id<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<u32>, Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_pre_key<'life0, 'async_trait>(
&'life0 mut self,
id: PreKeyId,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Extended operations for pre-key storage beyond libsignal’s PreKeyStore