Enum libpobsd::parsing::ParsingMode
source · pub enum ParsingMode {
Strict,
Relaxed,
}
Expand description
Represents the two parsing modes supported by Parser
.
Variants§
Strict
In strict mode, the parsing will stop if a parsing error occurs returning the games processed before the error as well as the line number at which the error occurred.
Relaxed
In relaxed mode, the parsing will continue even after encountering an error, and returning all the games that have been parsed as well as the line numbers that were ignored due to parsing errors.
Auto Trait Implementations§
impl Freeze for ParsingMode
impl RefUnwindSafe for ParsingMode
impl Send for ParsingMode
impl Sync for ParsingMode
impl Unpin for ParsingMode
impl UnwindSafe for ParsingMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more