pub fn scan_range(
        &self,
        start: &T::Key,
        end: &T::Key,
    ) -> impl Stream<Item = (T::Key, T::Value), Error = Error> {
        let scan_bytes = self.scan_range_bytes(start, end);
        write_id_future(&T::ID)
            .map(move |id_bytes| {
                let id_len = id_bytes.len();
                scan_bytes
                    .and_then(move |(id_k, v)| {
                        let k = &id_k[id_len..];
                        entry_from_bytes_future::<T>(k, &v)
                    })
            })
            .flatten_stream()
    }
/// Iterate over tuples of keys and values, starting at the provided key.
Iterate over tuples of keys and values, starting at the provided key.
Iterate over tuples of keys and values starting at the provided key .
pub fn scan_range(
        &self,
        start: &T::Key,
        end: &T::Key,
    ) -> impl Stream<Item = (T::Key, T::Value), Error = Error> {
        let scan_bytes = self.scan_range_bytes(start, end);
        write_id_future(&T::ID)
            .map(move |id_bytes| {
                let id_len = id_bytes.len();
                scan_bytes
                    .and_then(move |(id_k, v)| {
                        let k = &id_k[id_len..];
                        entry_from_bytes_future::<T>(k, &v)
                    })
            })
            .flatten_stream()
    }
pub fn scan_range ( & self , start : & T :: Key , end : & T :: Key , ) -> impl Stream < Item = ( T :: Key , T :: Value ) , Error = Error > { let scan_bytes = self . scan_range_bytes ( start , end ) ; write_id_future ( & T :: ID ) . map ( move | id_bytes | { let id_len = id_bytes . len ( ) ; scan_bytes . and_then ( move | ( id_k , v ) | { let k = & id_k [ id_len .. ] ; entry_from_bytes_future :: < T > ( k , & v ) } ) } ) . flatten_stream ( ) }
Iterate over tuples of keys and values, starting at the provided key.
Iterate over tuples of keys and values starting at the provided key .
&self
start
&T::Key
end
&T::Key
&self
start
&T::Key
end
&T::Key