Enum libcoinche::bid::BidError
source · [−]pub enum BidError {
AuctionClosed,
TurnError,
NonRaisedTarget,
AuctionRunning,
NoContract,
OverCoinche,
}
Expand description
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 Eq for BidError
impl StructuralEq for BidError
impl StructuralPartialEq for BidError
Auto Trait Implementations
impl RefUnwindSafe for BidError
impl Send for BidError
impl Sync for BidError
impl Unpin for BidError
impl UnwindSafe for BidError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more