pub trait HashTypeAsync: HashType { }
Expand description

HashTypes whose content are only hashable asynchronously, i.e. the content is unbounded in size

Object Safety§

This trait is not object safe.

Implementors§

source§

impl HashTypeAsync for AnyDht

source§

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).

source§

impl HashTypeAsync for NetId

source§

impl HashTypeAsync for Wasm