pub struct MemoryRevocationStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Default for MemoryRevocationStore
impl Default for MemoryRevocationStore
Source§impl RevocationStore for MemoryRevocationStore
impl RevocationStore for MemoryRevocationStore
fn is_revoked(&self, fingerprint: &[u8; 32]) -> Result<bool, KyaStorageError>
fn revoke(&self, fingerprint: &[u8; 32]) -> Result<(), KyaStorageError>
fn revoke_batch(&self, fingerprints: &[[u8; 32]]) -> Result<(), KyaStorageError>
fn health_check(&self) -> Result<(), KyaStorageError>
Auto Trait Implementations§
impl Freeze for MemoryRevocationStore
impl RefUnwindSafe for MemoryRevocationStore
impl Send for MemoryRevocationStore
impl Sync for MemoryRevocationStore
impl Unpin for MemoryRevocationStore
impl UnsafeUnpin for MemoryRevocationStore
impl UnwindSafe for MemoryRevocationStore
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