merkle_cbt::merkle_tree

Trait Merge

Source
pub trait Merge {
    type Item;

    // Required method
    fn merge(left: &Self::Item, right: &Self::Item) -> Self::Item;
}

Required Associated Types§

Required Methods§

Source

fn merge(left: &Self::Item, right: &Self::Item) -> Self::Item

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§