pub fn records(&self) -> impl Iterator<Item = ((Vec<u8>, Vec<u8>), u64, isize)> {
        let mut config = self.clone();
        (0..self.record_count).map(move |record_idx| {
            let ((k, v), t, d) = config.gen_record(record_idx);
            ((k.to_vec(), v.to_vec()), t, d)
        })
    }
/// Returns an [Iterator] of all records.
Returns an [Iterator] of all records.
Returns an [ Iterator ] of all records .
pub fn records(&self) -> impl Iterator<Item = ((Vec<u8>, Vec<u8>), u64, isize)> {
        let mut config = self.clone();
        (0..self.record_count).map(move |record_idx| {
            let ((k, v), t, d) = config.gen_record(record_idx);
            ((k.to_vec(), v.to_vec()), t, d)
        })
    }
pub fn records ( & self ) -> impl Iterator < Item = ( ( Vec < u8 > , Vec < u8 > ) , u64 , isize ) > { let mut config = self . clone ( ) ; ( 0 .. self . record_count ) . map ( move | record_idx | { let ( ( k , v ) , t , d ) = config . gen_record ( record_idx ) ; ( ( k . to_vec ( ) , v . to_vec ( ) ) , t , d ) } ) }
Returns an [Iterator] of all records.
Returns an [ Iterator ] of all records .
&self
&self