pub trait HashableContentExtSync<T>: HashableContentwhere
    T: HashTypeSync,
{ fn to_hash(&self) -> HoloHash<T>; fn into_hashed(self) -> HoloHashed<Self>; }
Expand description

Adds convenience methods for constructing HoloHash and HoloHashed from some HashableContent

Required Methods§

Construct a HoloHash from a reference

Move into a HoloHashed

Implementors§