pub trait ExtendedKyberPreKeyStore {
// Required methods
fn kyber_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_kyber_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_kyber_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_kyber_pre_key<'life0, 'async_trait>(
&'life0 mut self,
id: KyberPreKeyId,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_kyber_pre_keys_older_than<'life0, 'async_trait>(
&'life0 self,
timestamp_millis: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<KyberPreKeyId>, Box<dyn Error>>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Extended operations for Kyber post-quantum pre-key storage beyond libsignal’s KyberPreKeyStore