Enum round::error::RoundError
source · #[repr(u32)]pub enum RoundError {
Show 18 variants
Overflow,
SuspiciousOfferInterval,
NoDelegatedAmount,
BiddingNotStarted,
BiddingEnded,
BiddingIsNotOver,
InactivityTimeoutHasNotPassed,
CantWithdrawPendingOffer,
CantWithdrawAcceptedOffer,
OfferIsNotPending,
OfferTimedOut,
BiddingStillGoing,
CantAcceptZeroOffering,
CantWithdrawWithoutUserSignature,
CantRedeemNotAcceptedRound,
CantCancelStartedRound,
VouchersNotWithdrawn,
CantCloseBeforeHeirTimeout,
}Variants§
Overflow
SuspiciousOfferInterval
NoDelegatedAmount
BiddingNotStarted
BiddingEnded
BiddingIsNotOver
InactivityTimeoutHasNotPassed
CantWithdrawPendingOffer
CantWithdrawAcceptedOffer
OfferIsNotPending
OfferTimedOut
BiddingStillGoing
CantAcceptZeroOffering
CantWithdrawWithoutUserSignature
CantRedeemNotAcceptedRound
CantCancelStartedRound
VouchersNotWithdrawn
CantCloseBeforeHeirTimeout
Implementations§
Trait Implementations§
source§impl Clone for RoundError
impl Clone for RoundError
source§fn clone(&self) -> RoundError
fn clone(&self) -> RoundError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RoundError
impl Debug for RoundError
source§impl Display for RoundError
impl Display for RoundError
source§impl From<RoundError> for Error
impl From<RoundError> for Error
source§fn from(error_code: RoundError) -> Error
fn from(error_code: RoundError) -> Error
Converts to this type from the input type.
source§impl From<RoundError> for u32
impl From<RoundError> for u32
source§fn from(e: RoundError) -> u32
fn from(e: RoundError) -> u32
Converts to this type from the input type.
impl Copy for RoundError
Auto Trait Implementations§
impl RefUnwindSafe for RoundError
impl Send for RoundError
impl Sync for RoundError
impl Unpin for RoundError
impl UnwindSafe for RoundError
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