[][src]Struct ihex::Reader

pub struct Reader<'a> { /* fields omitted */ }

Methods

impl<'a> Reader<'a>[src]

pub fn new_with_options(string: &'a str, options: ReaderOptions) -> Self[src]

Creates a new IHEX reader over string with the specified configuration parameters. If stop_after_first_error is true then the first error will make all subsequent calls to next() return None. If stop_after_eof is true then the first EoF record will make all subsequent calls to next() return None.

pub fn new(string: &'a str) -> Self[src]

Creates a new IHEX reader over string with default configuration parameters.

Trait Implementations

impl<'a> FusedIterator for Reader<'a>[src]

impl<'a> Iterator for Reader<'a>[src]

type Item = Result<Record, ReaderError>

The type of the elements being iterated over.

fn next(&mut self) -> Option<Self::Item>[src]

Iterates over the lines of the IHEX object, skipping any empty ones, and returns the result of parsing that line.

Auto Trait Implementations

impl<'a> RefUnwindSafe for Reader<'a>

impl<'a> Send for Reader<'a>

impl<'a> Sync for Reader<'a>

impl<'a> Unpin for Reader<'a>

impl<'a> UnwindSafe for Reader<'a>

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.