pub enum FenParserError {
FenDataMissing {
missing_part: String,
fen_input: String,
},
InvalidPiecePlacementData(String),
UnrecognisedContent {
input: String,
fen_part: String,
},
}
Variants§
Trait Implementations§
Source§impl Debug for FenParserError
impl Debug for FenParserError
Source§impl Display for FenParserError
impl Display for FenParserError
Source§impl Error for FenParserError
impl Error for FenParserError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for FenParserError
impl RefUnwindSafe for FenParserError
impl Send for FenParserError
impl Sync for FenParserError
impl Unpin for FenParserError
impl UnwindSafe for FenParserError
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