Enum shakmaty::ParseOutcomeError
source · pub enum ParseOutcomeError {
Unknown,
Invalid,
}
Expand description
Error when parsing the outcome of a game.
Variants§
Trait Implementations§
source§impl Clone for ParseOutcomeError
impl Clone for ParseOutcomeError
source§fn clone(&self) -> ParseOutcomeError
fn clone(&self) -> ParseOutcomeError
Returns a copy 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 ParseOutcomeError
impl Debug for ParseOutcomeError
source§impl Display for ParseOutcomeError
impl Display for ParseOutcomeError
source§impl Error for ParseOutcomeError
Available on crate feature std
only.
impl Error for ParseOutcomeError
Available on crate feature
std
only.1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 ParseOutcomeError
impl RefUnwindSafe for ParseOutcomeError
impl Send for ParseOutcomeError
impl Sync for ParseOutcomeError
impl Unpin for ParseOutcomeError
impl UnwindSafe for ParseOutcomeError
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