Struct matterdb::migration::PersistentKeys[][src]

pub struct PersistentKeys<'a, T: RawAccess, I: IndexIterator> { /* fields omitted */ }

Persistent iterator over index keys that stores its position in the database.

This iterator can be used similarly to PersistentIter; the only difference is the type of items yielded by the iterator.

Implementations

impl<'a, T, I> PersistentKeys<'a, T, I> where
    T: RawAccessMut,
    I: IndexIterator
[src]

pub fn new<A>(access: &A, name: &str, index: &'a I) -> Self where
    A: Access<Base = T>, 
[src]

Creates a new persistent iterator.

Trait Implementations

impl<T, I> Debug for PersistentKeys<'_, T, I> where
    T: RawAccess,
    I: IndexIterator,
    I::Key: Debug
[src]

impl<T, I> Iterator for PersistentKeys<'_, T, I> where
    T: RawAccessMut,
    I: IndexIterator
[src]

type Item = <I::Key as ToOwned>::Owned

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, I> !RefUnwindSafe for PersistentKeys<'a, T, I>

impl<'a, T, I> !Send for PersistentKeys<'a, T, I>

impl<'a, T, I> !Sync for PersistentKeys<'a, T, I>

impl<'a, T, I> Unpin for PersistentKeys<'a, T, I> where
    T: Unpin,
    <T as RawAccess>::Changes: Unpin,
    <I as IndexIterator>::Key: Unpin,
    <<I as IndexIterator>::Key as ToOwned>::Owned: Unpin,
    <I as IndexIterator>::Value: Unpin

impl<'a, T, I> !UnwindSafe for PersistentKeys<'a, T, I>

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<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,