[][src]Trait nom::error::ParseError

pub trait ParseError<I>: Sized {
    fn from_error_kind(input: I, kind: ErrorKind) -> Self;
fn append(input: I, kind: ErrorKind, other: Self) -> Self; fn from_char(input: I, _: char) -> Self { ... }
fn or(self, other: Self) -> Self { ... }
fn add_context(_input: I, _ctx: &'static str, other: Self) -> Self { ... } }

Required methods

fn from_error_kind(input: I, kind: ErrorKind) -> Self

fn append(input: I, kind: ErrorKind, other: Self) -> Self

Loading content...

Provided methods

fn from_char(input: I, _: char) -> Self

fn or(self, other: Self) -> Self

fn add_context(_input: I, _ctx: &'static str, other: Self) -> Self

Loading content...

Implementations on Foreign Types

impl<I> ParseError<I> for (I, ErrorKind)[src]

fn from_char(input: I, _: char) -> Self[src]

fn or(self, other: Self) -> Self[src]

fn add_context(_input: I, _ctx: &'static str, other: Self) -> Self[src]

impl<I> ParseError<I> for ()[src]

fn from_char(input: I, _: char) -> Self[src]

fn or(self, other: Self) -> Self[src]

fn add_context(_input: I, _ctx: &'static str, other: Self) -> Self[src]

Loading content...

Implementors

impl<I> ParseError<I> for VerboseError<I>[src]

fn or(self, other: Self) -> Self[src]

Loading content...