pub enum SanError {
IllegalSan,
AmbiguousSan,
}
Expand description
IllegalSan
or AmbiguousSan
.
Variants§
IllegalSan
Standard algebraic notation does not match a legal move.
AmbiguousSan
Standard algebraic notation matches multiple legal moves.
Trait Implementations§
source§impl Error for SanError
Available on crate feature std
only.
impl Error for SanError
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()
source§impl PartialEq for SanError
impl PartialEq for SanError
impl Eq for SanError
impl StructuralPartialEq for SanError
Auto Trait Implementations§
impl Freeze for SanError
impl RefUnwindSafe for SanError
impl Send for SanError
impl Sync for SanError
impl Unpin for SanError
impl UnwindSafe for SanError
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