Enum shakmaty::fen::FenError [−][src]
pub enum FenError { InvalidFen, InvalidBoard, InvalidPocket, InvalidTurn, InvalidCastling, InvalidEpSquare, InvalidRemainingChecks, InvalidHalfmoveClock, InvalidFullmoves, }
Errors that can occur when parsing a FEN.
Variants
InvalidFen
InvalidBoard
InvalidPocket
InvalidTurn
InvalidCastling
InvalidEpSquare
InvalidRemainingChecks
InvalidHalfmoveClock
InvalidFullmoves
Trait Implementations
impl Eq for FenError
[src]
impl Eq for FenError
impl PartialEq for FenError
[src]
impl PartialEq for FenError
fn eq(&self, other: &FenError) -> bool
[src]
fn eq(&self, other: &FenError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for FenError
[src]
impl Debug for FenError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for FenError
[src]
impl Display for FenError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for FenError
[src]
impl Error for FenError