referrerpolicy=no-referrer-when-downgrade
polkadot_sdk_frame::traits

Trait CheckEqual

pub trait CheckEqual {
    // Required method
    fn check_equal(&self, other: &Self);
}
Expand description

Something that can be checked for equality and printed out to a debug channel if bad.

Required Methods§

fn check_equal(&self, other: &Self)

Perform the equality check.

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.

Implementors§

§

impl CheckEqual for H256

§

impl CheckEqual for DigestItem