pub trait VerifyEq {
    // Required method
    fn verify_eq(&self, other: &Self) -> bool;
}
Expand description

Trait for equivalence verification. Implemented for all types implemeting Eq. For non-Eq types this trait provides way to implement custom equivalence verification used during commitment verification procedure.

Required Methods§

source

fn verify_eq(&self, other: &Self) -> bool

Verifies commit-equivalence of two instances of the same type.

Implementors§

source§

impl<T> VerifyEq for Twhere T: Eq,