pub fn iter_fail<'r, R: Readable>(
        &'r self,
        r: &'r R,
    ) -> DatabaseResult<impl FallibleIterator<Item = HoloHashed<C>, Error = DatabaseError> + 'r>
    {
        Ok(Box::new(self.0.iter(r)?.map(|(h, c)| {
            let k: PrefixHashKey<P> = PrefixHashKey::from_key_bytes_or_friendly_panic(h);
            Ok(Self::deserialize_and_hash_blocking(k.as_hash_bytes(), c))
        })))
    }
/// Iterate over the underlying persisted data taking the scratch space into consideration
Iterate over the underlying persisted data taking the scratch space into consideration
Iterate over the underlying persisted data taking the scratch space into consideration
pub fn iter_fail<'r, R: Readable>(
        &'r self,
        r: &'r R,
    ) -> DatabaseResult<impl FallibleIterator<Item = HoloHashed<C>, Error = DatabaseError> + 'r>
    {
        Ok(Box::new(self.0.iter(r)?.map(|(h, c)| {
            let k: PrefixHashKey<P> = PrefixHashKey::from_key_bytes_or_friendly_panic(h);
            Ok(Self::deserialize_and_hash_blocking(k.as_hash_bytes(), c))
        })))
    }
pub fn iter_fail < ' r , R : Readable > ( & ' r self , r : & ' r R , ) -> DatabaseResult < impl FallibleIterator < Item = HoloHashed < C > , Error = DatabaseError > + ' r > { Ok ( Box :: new ( self . 0 . iter ( r ) ? . map ( | ( h , c ) | { let k : PrefixHashKey < P > = PrefixHashKey :: from_key_bytes_or_friendly_panic ( h ) ; Ok ( Self :: deserialize_and_hash_blocking ( k . as_hash_bytes ( ) , c ) ) } ) ) ) }
Iterate over the underlying persisted data taking the scratch space into consideration
Iterate over the underlying persisted data taking the scratch space into consideration
&'r self
r
&'r R
&'r self
r
&'r R