Struct yew_router_nested_route_parser::ParseError [−][src]
pub struct ParseError {
pub reason: Option<ParserErrorReason>,
pub expected: Vec<ExpectedToken>,
pub offset: usize,
}
Expand description
Error for parsing the route
Fields
reason: Option<ParserErrorReason>
A concrete reason why the parse failed.
expected: Vec<ExpectedToken>
Expected token sequences
offset: usize
Additional offset for failures within sub-parsers.
Eg. if {
parses, but then a bad ident is presented, some offset is needed here then.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParseError
impl Send for ParseError
impl Sync for ParseError
impl Unpin for ParseError
impl UnwindSafe for ParseError
Blanket Implementations
Mutably borrows from an owned value. Read more