[][src]Struct c0sv::DocumentIterator

pub struct DocumentIterator<R> where
    R: Read
{ /* fields omitted */ }

Iterator for a whole document. It's strongly recommended to use a BufReader or some other buffered reader, because this will very often only iterate a single byte at a time to avoid overreading.

Implementations

impl<R> DocumentIterator<R> where
    R: Read
[src]

pub fn new(reader: R) -> Self[src]

Trait Implementations

impl<R> Iterator for DocumentIterator<R> where
    R: Read
[src]

type Item = Result<DocumentIteratorRow, Error>

The type of the elements being iterated over.

Auto Trait Implementations

impl<R> RefUnwindSafe for DocumentIterator<R> where
    R: RefUnwindSafe

impl<R> Send for DocumentIterator<R> where
    R: Send

impl<R> Sync for DocumentIterator<R> where
    R: Sync

impl<R> Unpin for DocumentIterator<R> where
    R: Unpin

impl<R> UnwindSafe for DocumentIterator<R> where
    R: 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.