Trait async_hash::HashCollection[][src]

pub trait HashCollection: Send + Sync {
    type Item: Hash<Context = ()>;
    type Context: Send + Sync;
    fn hashable<'a, 'async_trait>(
        &'a self,
        txn: &'a Self::Context
    ) -> Pin<Box<dyn Future<Output = Result<Contents<'a, Self::Item, <Self::Item as Hash>::Error>, <Self::Item as Hash>::Error>> + Send + 'async_trait>>
    where
        'a: 'async_trait,
        Self: 'async_trait
; }
Expand description

Defines a standard hash for a mutable collection.

Associated Types

Required methods

Return a stream of hashable items which comprise this collection, in a consistent order.

Implementors