pub enum PError {
    Mismatch,
    Terminate(&'static stru64),
}
Expand description

The error of parser handling, returned by Parser.

Please see module level document for more error information.

Variants

Mismatch

If parser mismatched, just choose another one.

Terminate(&'static stru64)

Tuple Fields

0: &'static str

Name of sub-parser group.

1: u64

Document position.

The parser is the only one can be matched.

Implementations

Transform to IO error.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.