[][src]Struct grin_core::ser::IteratingReader

pub struct IteratingReader<'a, T> { /* fields omitted */ }

Reader that exposes an Iterator interface.

Methods

impl<'a, T> IteratingReader<'a, T>[src]

Important traits for IteratingReader<'a, T>
pub fn new(reader: &'a mut dyn Reader, count: u64) -> IteratingReader<'a, T>[src]

Constructor to create a new iterating reader for the provided underlying reader. Takes a count so we know how many to iterate over.

Trait Implementations

impl<'a, T> Iterator for IteratingReader<'a, T> where
    T: Readable
[src]

type Item = T

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T> !Send for IteratingReader<'a, T>

impl<'a, T> !Sync for IteratingReader<'a, T>

impl<'a, T> Unpin for IteratingReader<'a, T> where
    T: Unpin

impl<'a, T> !UnwindSafe for IteratingReader<'a, T>

impl<'a, T> !RefUnwindSafe for IteratingReader<'a, T>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<I> SliceIterExt for I where
    I: Iterator + ?Sized
[src]

impl<T> UnsafeAny for T where
    T: Any

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

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