Enum libcoinche::bid::BidError
[−]
[src]
pub enum BidError { AuctionClosed, TurnError, NonRaisedTarget, AuctionRunning, NoContract, OverCoinche, }
Possible error occuring during an Auction.
Variants
AuctionClosed
The auction was closed and does not accept more contracts.
TurnError
A player tried bidding before his turn.
NonRaisedTarget
The given bid was not higher than the previous one.
AuctionRunning
Cannot complete the auction when it is still running.
NoContract
No contract was offered during the auction, it cannot complete.
OverCoinche
The contract was coinched too many times.
Trait Implementations
impl PartialEq for BidError
[src]
fn eq(&self, __arg_0: &BidError) -> 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
This method tests for !=
.