pub trait AsyncRevocationStore: Send + Sync {
// Required methods
fn is_revoked<'life0, 'life1, 'async_trait>(
&'life0 self,
fingerprint: &'life1 [u8; 32],
) -> Pin<Box<dyn Future<Output = Result<bool, A1StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn revoke<'life0, 'life1, 'async_trait>(
&'life0 self,
fingerprint: &'life1 [u8; 32],
) -> Pin<Box<dyn Future<Output = Result<(), A1StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided methods
fn revoke_batch<'life0, 'life1, 'async_trait>(
&'life0 self,
fingerprints: &'life1 [[u8; 32]],
) -> Pin<Box<dyn Future<Output = Result<(), A1StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn health_check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), A1StorageError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Available on crate feature
async only.