Trait holochain_types::dna::HashableContentExtAsync[][src]

pub trait HashableContentExtAsync<'a, T>: HashableContent where
    T: HashTypeAsync
{ fn to_hash(&self) -> MustBoxFuture<'_, HoloHash<T>>;
fn into_hashed(self) -> MustBoxFuture<'a, 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