pub enum PuzWarning {
SkippedExtension {
section: String,
reason: String,
},
EncodingIssue {
context: String,
recovered: bool,
},
DataRecovery {
field: String,
issue: String,
},
ScrambledPuzzle {
version: String,
},
}Expand description
Warnings that can occur during parsing but don’t prevent puzzle creation.
These indicate non-critical issues that were encountered during parsing but were handled gracefully. The parsing can continue and produce a valid puzzle, but some information might be missing or using fallback values.
Variants§
SkippedExtension
An optional extension section was skipped due to parsing issues
EncodingIssue
Character encoding issues were encountered but handled
DataRecovery
Invalid data was found but default values were used
ScrambledPuzzle
Puzzle is scrambled and may not display correctly
Trait Implementations§
Source§impl Clone for PuzWarning
impl Clone for PuzWarning
Source§fn clone(&self) -> PuzWarning
fn clone(&self) -> PuzWarning
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PuzWarning
impl Debug for PuzWarning
Source§impl Display for PuzWarning
impl Display for PuzWarning
Source§impl PartialEq for PuzWarning
impl PartialEq for PuzWarning
impl StructuralPartialEq for PuzWarning
Auto Trait Implementations§
impl Freeze for PuzWarning
impl RefUnwindSafe for PuzWarning
impl Send for PuzWarning
impl Sync for PuzWarning
impl Unpin for PuzWarning
impl UnwindSafe for PuzWarning
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