Trait crev_lib::ProofStore
source · pub trait ProofStore {
// Required methods
fn insert(&self, proof: &Proof) -> Result<(), Error>;
fn proofs_iter(&self) -> Result<Box<dyn Iterator<Item = Proof>>, Error>;
}
Expand description
Trait representing a place that can keep proofs (all reviews and trust proofs)
See ProofDb
.
Typically serialized and persisted.