Enum mpl_auctioneer::errors::AuctioneerError
source · #[repr(u32)]
pub enum AuctioneerError {
BumpSeedNotInHashMap,
AuctionNotStarted,
AuctionEnded,
AuctionActive,
BidTooLow,
SignerNotAuth,
NotHighestBidder,
BelowReservePrice,
BelowBidIncrement,
CannotCancelHighestBid,
}Variants§
BumpSeedNotInHashMap
AuctionNotStarted
AuctionEnded
AuctionActive
BidTooLow
SignerNotAuth
NotHighestBidder
BelowReservePrice
BelowBidIncrement
CannotCancelHighestBid
Implementations§
Trait Implementations§
source§impl Clone for AuctioneerError
impl Clone for AuctioneerError
source§fn clone(&self) -> AuctioneerError
fn clone(&self) -> AuctioneerError
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 AuctioneerError
impl Debug for AuctioneerError
source§impl Display for AuctioneerError
impl Display for AuctioneerError
source§impl From<AuctioneerError> for Error
impl From<AuctioneerError> for Error
source§fn from(error_code: AuctioneerError) -> Error
fn from(error_code: AuctioneerError) -> Error
Converts to this type from the input type.
source§impl From<AuctioneerError> for u32
impl From<AuctioneerError> for u32
source§fn from(e: AuctioneerError) -> u32
fn from(e: AuctioneerError) -> u32
Converts to this type from the input type.
impl Copy for AuctioneerError
Auto Trait Implementations§
impl RefUnwindSafe for AuctioneerError
impl Send for AuctioneerError
impl Sync for AuctioneerError
impl Unpin for AuctioneerError
impl UnwindSafe for AuctioneerError
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