Trait holochain::prelude::hash_type::HashTypeAsync
source · pub trait HashTypeAsync: HashType { }
Expand description
HashTypes whose content are only hashable asynchronously, i.e. the content is unbounded in size
Implementors§
impl HashTypeAsync for AnyDht
impl HashTypeAsync for External
External hashes have a DHT location and hash prefix like all other native holochain hashes but are NOT found/fetchable on the DHT. External hashing makes no assumptions about the data that was digested to create the hash so arbitrary bytes can be passed in. It is valid to EITHER use an existing 32 byte hash/data as literal bytes for an external hash (literal+prefix, no data loss) OR digest arbitrary data into an external hash (support all data, opaque result).