[][src]Struct geojsonseq::read::GeoJsonSeqReader

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

Reads GeoJSON objects from a Read

Implementations

impl<R: Read> GeoJsonSeqReader<R>[src]

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

Create from this reader

pub fn next_item(&mut self) -> Result<Option<GeoJson>, Error>[src]

Read the next GeoJSON object from this

pub fn read_item(&mut self) -> Result<Option<GeoJson>, Error>[src]

Read the next GeoJSON object from this

pub fn get_ref(&self) -> &R[src]

Reference to the inner Read

pub fn get_mut(&mut self) -> &mut R[src]

Mutable reference to the inner Read

pub fn into_inner(self) -> R[src]

Consume & return the inner reader

Trait Implementations

impl<R: Read> From<R> for GeoJsonSeqReader<R>[src]

impl<R: Read> Iterator for GeoJsonSeqReader<R>[src]

type Item = Result<GeoJson, Error>

The type of the elements being iterated over.

Auto Trait Implementations

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

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

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

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

impl<R> UnwindSafe for GeoJsonSeqReader<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<!> 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, 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.