[][src]Struct orml_utilities::iterator::StorageMapIterator

pub struct StorageMapIterator<K, V, Hasher> {
    pub previous_key: Vec<u8>,
    // some fields omitted
}

Utility to iterate through items in a storage map. Forks from substrate, expose previous_key field

Fields

previous_key: Vec<u8>

Trait Implementations

impl<K: Decode + Sized, V: Decode + Sized, Hasher: ReversibleStorageHasher> Iterator for StorageMapIterator<K, V, Hasher>[src]

Forks from substrate

type Item = (K, V)

The type of the elements being iterated over.

Auto Trait Implementations

impl<K, V, Hasher> RefUnwindSafe for StorageMapIterator<K, V, Hasher> where
    Hasher: RefUnwindSafe,
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V, Hasher> Send for StorageMapIterator<K, V, Hasher> where
    Hasher: Send,
    K: Send,
    V: Send

impl<K, V, Hasher> Sync for StorageMapIterator<K, V, Hasher> where
    Hasher: Sync,
    K: Sync,
    V: Sync

impl<K, V, Hasher> Unpin for StorageMapIterator<K, V, Hasher> where
    Hasher: Unpin,
    K: Unpin,
    V: Unpin

impl<K, V, Hasher> UnwindSafe for StorageMapIterator<K, V, Hasher> where
    Hasher: UnwindSafe,
    K: UnwindSafe,
    V: UnwindSafe

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> CheckedConversion for T[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> IsType<T> for T[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

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

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

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<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

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