[][src]Struct heed::RoIter

pub struct RoIter<'txn, KC, DC> { /* fields omitted */ }

Implementations

impl<'txn, KC, DC> RoIter<'txn, KC, DC>[src]

pub fn remap_types<KC2, DC2>(self) -> RoIter<'txn, KC2, DC2>

Notable traits for RoIter<'txn, KC, DC>

impl<'txn, KC, DC> Iterator for RoIter<'txn, KC, DC> where
    KC: BytesDecode<'txn>,
    DC: BytesDecode<'txn>, 
type Item = Result<(KC::DItem, DC::DItem)>;
[src]

Change the codec types of this iterator, specifying the codecs.

pub fn remap_key_type<KC2>(self) -> RoIter<'txn, KC2, DC>

Notable traits for RoIter<'txn, KC, DC>

impl<'txn, KC, DC> Iterator for RoIter<'txn, KC, DC> where
    KC: BytesDecode<'txn>,
    DC: BytesDecode<'txn>, 
type Item = Result<(KC::DItem, DC::DItem)>;
[src]

Change the key codec type of this iterator, specifying the new codec.

pub fn remap_data_type<DC2>(self) -> RoIter<'txn, KC, DC2>

Notable traits for RoIter<'txn, KC, DC>

impl<'txn, KC, DC> Iterator for RoIter<'txn, KC, DC> where
    KC: BytesDecode<'txn>,
    DC: BytesDecode<'txn>, 
type Item = Result<(KC::DItem, DC::DItem)>;
[src]

Change the data codec type of this iterator, specifying the new codec.

pub fn lazily_decode_data(self) -> RoIter<'txn, KC, LazyDecode<DC>>

Notable traits for RoIter<'txn, KC, DC>

impl<'txn, KC, DC> Iterator for RoIter<'txn, KC, DC> where
    KC: BytesDecode<'txn>,
    DC: BytesDecode<'txn>, 
type Item = Result<(KC::DItem, DC::DItem)>;
[src]

Wrap the data bytes into a lazy decoder.

Trait Implementations

impl<'txn, KC, DC> Iterator for RoIter<'txn, KC, DC> where
    KC: BytesDecode<'txn>,
    DC: BytesDecode<'txn>, 
[src]

type Item = Result<(KC::DItem, DC::DItem)>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'txn, KC, DC> RefUnwindSafe for RoIter<'txn, KC, DC> where
    DC: RefUnwindSafe,
    KC: RefUnwindSafe
[src]

impl<'txn, KC, DC> !Send for RoIter<'txn, KC, DC>[src]

impl<'txn, KC, DC> !Sync for RoIter<'txn, KC, DC>[src]

impl<'txn, KC, DC> Unpin for RoIter<'txn, KC, DC> where
    DC: Unpin,
    KC: Unpin
[src]

impl<'txn, KC, DC> UnwindSafe for RoIter<'txn, KC, DC> where
    DC: UnwindSafe,
    KC: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.