Enum advent_of_code_2021::day_10::ParseError [−][src]
Expand description
Used to indicate an error when parsing strings of braces
Variants
MISMATCH
A closing brace was encountered that doesn’t match the expected character from the corresponding opening brace
UNEXPECTED(char)
Tuple Fields
0: charAny other unexpected character i.e. not part of one of the four brace pairs, or a closing brace without a corresponding opening brace.
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
