[][src]Struct osrmreader::osrm::OsrmReader

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

A reader for *.osrm files that allows iterating over it's entries.

Implementations

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

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

Creates a new OsrmReader.

pub fn entries(&mut self) -> Result<OsrmEntries<'_, R>, Error>[src]

Returns iterator of entries.

Auto Trait Implementations

impl<R> !RefUnwindSafe for OsrmReader<R>

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

impl<R> !Sync for OsrmReader<R>

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

impl<R> UnwindSafe for OsrmReader<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<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.