Struct shardio::RangeIter[][src]

pub struct RangeIter<'a, T, S> where
    T: 'a,
    S: SortKey<T>,
    <S as SortKey<T>>::Key: 'a + Ord + Clone
{ /* fields omitted */ }

Iterator of items from a single shardio reader

Trait Implementations

impl<'a, T, S> Iterator for RangeIter<'a, T, S> where
    T: DeserializeOwned,
    S: SortKey<T>,
    <S as SortKey<T>>::Key: Clone + Ord + DeserializeOwned
[src]

type Item = Result<T, Error>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T, S> RefUnwindSafe for RangeIter<'a, T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe,
    <S as SortKey<T>>::Key: RefUnwindSafe

impl<'a, T, S> Send for RangeIter<'a, T, S> where
    S: Send,
    T: Send + Sync,
    <S as SortKey<T>>::Key: Send + Sync

impl<'a, T, S> !Sync for RangeIter<'a, T, S>

impl<'a, T, S> Unpin for RangeIter<'a, T, S> where
    S: Unpin,
    T: Unpin,
    <S as SortKey<T>>::Key: Unpin

impl<'a, T, S> UnwindSafe for RangeIter<'a, T, S> where
    S: UnwindSafe,
    T: RefUnwindSafe + UnwindSafe,
    <S as SortKey<T>>::Key: RefUnwindSafe + 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> 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.