Struct akd::proof_structs::AppendOnlyProof
source · [−]pub struct AppendOnlyProof<H: Hasher> {
pub proofs: Vec<SingleAppendOnlyProof<H>>,
pub epochs: Vec<u64>,
}
Expand description
Proof that no leaves were deleted from the initial epoch. This is done using a list of SingleAppendOnly proofs, one proof for each epoch between the initial epoch and final epochs which are being audited.
Fields
proofs: Vec<SingleAppendOnlyProof<H>>
Proof for a single epoch being append-only
epochs: Vec<u64>
Epochs over which this audit is being performed
Trait Implementations
sourceimpl<H: Debug + Hasher> Debug for AppendOnlyProof<H>
impl<H: Debug + Hasher> Debug for AppendOnlyProof<H>
sourceimpl<H: PartialEq + Hasher> PartialEq<AppendOnlyProof<H>> for AppendOnlyProof<H>
impl<H: PartialEq + Hasher> PartialEq<AppendOnlyProof<H>> for AppendOnlyProof<H>
sourcefn eq(&self, other: &AppendOnlyProof<H>) -> bool
fn eq(&self, other: &AppendOnlyProof<H>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<H: Eq + Hasher> Eq for AppendOnlyProof<H>
impl<H: Hasher> StructuralEq for AppendOnlyProof<H>
impl<H: Hasher> StructuralPartialEq for AppendOnlyProof<H>
Auto Trait Implementations
impl<H> RefUnwindSafe for AppendOnlyProof<H> where
<H as Hasher>::Digest: RefUnwindSafe,
impl<H> Send for AppendOnlyProof<H>
impl<H> Sync for AppendOnlyProof<H>
impl<H> Unpin for AppendOnlyProof<H> where
<H as Hasher>::Digest: Unpin,
impl<H> UnwindSafe for AppendOnlyProof<H> where
<H as Hasher>::Digest: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.