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.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> VerifyEq for T
where T: Eq,