Enum bms_rs::BmsError [−][src]
#[non_exhaustive]
pub enum BmsError {
LexError(LexError),
ParseError(ParseError),
}
Expand description
An error occurred when parsing the BMS format file.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LexError(LexError)
Tuple Fields
0: LexError
An error comes from lexical analyzer.
ParseError(ParseError)
Tuple Fields
0: ParseError
An error comes from syntax parser.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BmsError
impl UnwindSafe for BmsError
Blanket Implementations
Mutably borrows from an owned value. Read more