#[repr(u32)]pub enum ShadowyError {
Show 13 variants
Uninitialized = 0,
IndexGreaterThanLength = 1,
NumericalOverflowError = 2,
TooManyCreators = 3,
ShadowySuperMinterEmpty = 4,
MetadataAccountMustBeEmpty = 5,
InvalidMintAuthority = 6,
CannotFindUsableAsset = 7,
InvalidString = 8,
InvalidTimes = 9,
InvalidAccount = 10,
MintNotOpen = 11,
CollectionNotForMinter = 12,
}Variants§
Uninitialized = 0
IndexGreaterThanLength = 1
NumericalOverflowError = 2
TooManyCreators = 3
ShadowySuperMinterEmpty = 4
MetadataAccountMustBeEmpty = 5
InvalidMintAuthority = 6
CannotFindUsableAsset = 7
InvalidString = 8
InvalidTimes = 9
InvalidAccount = 10
MintNotOpen = 11
CollectionNotForMinter = 12
Implementations§
Trait Implementations§
Source§impl Clone for ShadowyError
impl Clone for ShadowyError
Source§fn clone(&self) -> ShadowyError
fn clone(&self) -> ShadowyError
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 ShadowyError
impl Debug for ShadowyError
Source§impl Display for ShadowyError
impl Display for ShadowyError
Source§impl From<ShadowyError> for Error
impl From<ShadowyError> for Error
Source§fn from(error_code: ShadowyError) -> Error
fn from(error_code: ShadowyError) -> Error
Converts to this type from the input type.
Source§impl From<ShadowyError> for u32
impl From<ShadowyError> for u32
Source§fn from(e: ShadowyError) -> u32
fn from(e: ShadowyError) -> u32
Converts to this type from the input type.
impl Copy for ShadowyError
Auto Trait Implementations§
impl Freeze for ShadowyError
impl RefUnwindSafe for ShadowyError
impl Send for ShadowyError
impl Sync for ShadowyError
impl Unpin for ShadowyError
impl UnwindSafe for ShadowyError
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