#[repr(u32)]pub enum RedropError {
InvalidProof = 0,
DropAlreadyClaimed = 1,
Unauthorized = 2,
OwnerMismatch = 3,
TemporalMismatch = 4,
NumericalOverflow = 5,
InvalidClaimBump = 6,
MustUseOfficialCandyMachine = 7,
BumpSeedNotInHashMap = 8,
}Variants§
InvalidProof = 0
DropAlreadyClaimed = 1
OwnerMismatch = 3
TemporalMismatch = 4
NumericalOverflow = 5
InvalidClaimBump = 6
MustUseOfficialCandyMachine = 7
BumpSeedNotInHashMap = 8
Implementations§
Trait Implementations§
Source§impl Clone for RedropError
impl Clone for RedropError
Source§fn clone(&self) -> RedropError
fn clone(&self) -> RedropError
Returns a duplicate 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 RedropError
impl Debug for RedropError
Source§impl Display for RedropError
impl Display for RedropError
Source§impl From<RedropError> for Error
impl From<RedropError> for Error
Source§fn from(error_code: RedropError) -> Error
fn from(error_code: RedropError) -> Error
Converts to this type from the input type.
Source§impl From<RedropError> for u32
impl From<RedropError> for u32
Source§fn from(e: RedropError) -> u32
fn from(e: RedropError) -> u32
Converts to this type from the input type.
impl Copy for RedropError
Auto Trait Implementations§
impl Freeze for RedropError
impl RefUnwindSafe for RedropError
impl Send for RedropError
impl Sync for RedropError
impl Unpin for RedropError
impl UnwindSafe for RedropError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more