pub trait Affiliated: Hash {
    fn parents(&self) -> Vec<<Self as Hash>::TypedDigest>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
; fn compressible(&self) -> bool { ... } }
Expand description

A trait marking the minimum information we need to sort out the value for a node:

  • parents: hash pointers to its parents, and
  • compressible: a value-derived boolean indicating if that value is, initially, compressible

The crypto:Hash trait bound offers the digest-ibility.

Required Methods

Hash pointers to the parents of the current value

Provided Methods

Whether the current value should be marked as compressible when first inserted in a Node. Defaults to a blanket false for all values.

Implementors