Trait NodeValue

Source
pub trait NodeValue:
    Default
    + Eq
    + PartialEq
    + Hash
    + Copy
    + Clone
    + Debug
    + CanonicalSerialize
    + CanonicalDeserialize { }
Expand description

An internal node value type in a Merkle tree.

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§

Source§

impl<T> NodeValue for T
where T: Default + Eq + PartialEq + Hash + Copy + Clone + Debug + CanonicalSerialize + CanonicalDeserialize,