Skip to main content

RevocationFloorStore

Trait RevocationFloorStore 

Source
pub trait RevocationFloorStore: Send + Sync {
    // Required method
    fn compare_and_set(
        &self,
        issuer: &PublicKey,
        version: u64,
        content_hash: [u8; 32],
    ) -> Result<(), RevocationError>;
}
Expand description

Persistent monotonic floor: rollback and equivocation survive restart.

Required Methods§

Source

fn compare_and_set( &self, issuer: &PublicKey, version: u64, content_hash: [u8; 32], ) -> Result<(), RevocationError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§