Struct combine::error::Tracked [−][src]
pub struct Tracked<E> { pub error: E, // some fields omitted }
Error wrapper which lets parsers track which parser in a sequence of sub-parsers has emitted
the error. Tracked::from
can be used to construct this and it should otherwise be
ignored outside of combine.
Fields
error: E
The error returned
Trait Implementations
impl<E: Clone> Clone for Tracked<E>
[src]
impl<E: Clone> Clone for Tracked<E>
fn clone(&self) -> Tracked<E>
[src]
fn clone(&self) -> Tracked<E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<E: PartialEq> PartialEq for Tracked<E>
[src]
impl<E: PartialEq> PartialEq for Tracked<E>
fn eq(&self, other: &Tracked<E>) -> bool
[src]
fn eq(&self, other: &Tracked<E>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Tracked<E>) -> bool
[src]
fn ne(&self, other: &Tracked<E>) -> bool
This method tests for !=
.
impl<E: Debug> Debug for Tracked<E>
[src]
impl<E: Debug> Debug for Tracked<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E: Copy> Copy for Tracked<E>
[src]
impl<E: Copy> Copy for Tracked<E>
impl<E> From<E> for Tracked<E>
[src]
impl<E> From<E> for Tracked<E>