pub trait VerifyEq {
// Required method
fn verify_eq(&self, other: &Self) -> bool;
}
Expand description
Trait for equivalence verification. Implemented for all types implementing
Eq
. For non-Eq
types this trait provides way to implement custom
equivalence verification used during commitment verification procedure.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.