Struct combine::primitives::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]
fn clone(&self) -> Tracked<E>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<E: PartialEq> PartialEq for Tracked<E>
[src]
fn eq(&self, __arg_0: &Tracked<E>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tracked<E>) -> bool
This method tests for !=
.
impl<E: Debug> Debug for Tracked<E>
[src]
impl<E: Copy> Copy for Tracked<E>
[src]
impl<E> From<E> for Tracked<E>
[src]
fn from(error: E) -> Self
Performs the conversion.