Trait holochain_types::dna::HashableContentExtSync
source · [−]pub trait HashableContentExtSync<T>: HashableContent where
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
fn into_hashed(self) -> HoloHashed<Self>
fn into_hashed(self) -> HoloHashed<Self>
Move into a HoloHashed