Recoverable

Trait Recoverable 

Source
pub trait Recoverable {
    // Required method
    fn recoverable(&self) -> bool;
}
Expand description

Indicates if an error allows a parent parser to recover and try something else.

Errors usually are irrecoverable if the input is well-formed, but other constraints failed.

Required Methods§

Source

fn recoverable(&self) -> bool

Returns true if the parse failure is recoverable, false otherwise.

Implementors§