pub struct SyncRevocationAdapter<S>(pub Arc<S>);Available on crate feature
async only.Tuple Fields§
§0: Arc<S>Trait Implementations§
Source§impl<S: RevocationStore + 'static> AsyncRevocationStore for SyncRevocationAdapter<S>
impl<S: RevocationStore + 'static> AsyncRevocationStore for SyncRevocationAdapter<S>
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,
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,
Auto Trait Implementations§
impl<S> Freeze for SyncRevocationAdapter<S>
impl<S> RefUnwindSafe for SyncRevocationAdapter<S>where
S: RefUnwindSafe,
impl<S> Send for SyncRevocationAdapter<S>
impl<S> Sync for SyncRevocationAdapter<S>
impl<S> Unpin for SyncRevocationAdapter<S>
impl<S> UnsafeUnpin for SyncRevocationAdapter<S>
impl<S> UnwindSafe for SyncRevocationAdapter<S>where
S: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more