Struct pear::ParseError
[−]
[src]
pub struct ParseError<I: Input> { pub parser: &'static str, pub expected: Expected<I>, }
Fields
parser: &'static str
expected: Expected<I>
Methods
impl<I: Input> ParseError<I>
[src]
fn custom<T, R>(parser: &'static str, message: T) -> ParseResult<I, R> where
T: Into<Cow<'static, str>>,
T: Into<Cow<'static, str>>,