Enum spades::TransitionError [−][src]
pub enum TransitionError { AlreadyStarted, NotStarted, CardInBettingStage, BetInTrickStage, CompletedGame, CardNotInHand, CardIncorrectSuit, }
Variants
AlreadyStarted
NotStarted
CardInBettingStage
BetInTrickStage
CompletedGame
CardNotInHand
CardIncorrectSuit
Trait Implementations
impl Debug for TransitionError
[src]
impl Debug for TransitionError
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 PartialEq for TransitionError
[src]
impl PartialEq for TransitionError
fn eq(&self, other: &TransitionError) -> bool
[src]
fn eq(&self, other: &TransitionError) -> 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 Display for TransitionError
[src]
impl Display for TransitionError
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 TransitionError
[src]
impl Error for TransitionError
Auto Trait Implementations
impl Send for TransitionError
impl Send for TransitionError
impl Sync for TransitionError
impl Sync for TransitionError