#[repr(u32)]pub enum ManifestError {
Show 22 variants
InvalidMarketParameters = 0,
InvalidDepositAccounts = 1,
InvalidWithdrawAccounts = 2,
InvalidCancel = 3,
InvalidFreeList = 4,
AlreadyClaimedSeat = 5,
PostOnlyCrosses = 6,
AlreadyExpired = 7,
InsufficientOut = 8,
InvalidPlaceOrderFromWalletParams = 9,
WrongIndexHintParams = 10,
PriceNotPositive = 11,
OrderWouldOverflow = 12,
OrderTooSmall = 13,
Overflow = 14,
MissingGlobal = 15,
GlobalInsufficient = 16,
IncorrectAccount = 17,
InvalidMint = 18,
TooManyGlobalSeats = 19,
InvalidEvict = 20,
InvalidClean = 21,
}Variants§
InvalidMarketParameters = 0
InvalidDepositAccounts = 1
InvalidWithdrawAccounts = 2
InvalidCancel = 3
InvalidFreeList = 4
AlreadyClaimedSeat = 5
PostOnlyCrosses = 6
AlreadyExpired = 7
InsufficientOut = 8
InvalidPlaceOrderFromWalletParams = 9
WrongIndexHintParams = 10
PriceNotPositive = 11
OrderWouldOverflow = 12
OrderTooSmall = 13
Overflow = 14
MissingGlobal = 15
GlobalInsufficient = 16
IncorrectAccount = 17
InvalidMint = 18
TooManyGlobalSeats = 19
InvalidEvict = 20
InvalidClean = 21
Trait Implementations§
Source§impl Debug for ManifestError
impl Debug for ManifestError
Source§impl Display for ManifestError
impl Display for ManifestError
Source§impl Error for ManifestError
impl Error for ManifestError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<ManifestError> for ProgramError
impl From<ManifestError> for ProgramError
Source§fn from(e: ManifestError) -> Self
fn from(e: ManifestError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ManifestError
impl RefUnwindSafe for ManifestError
impl Send for ManifestError
impl Sync for ManifestError
impl Unpin for ManifestError
impl UnwindSafe for ManifestError
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> DerefOrBorrow<T> for Twhere
T: ?Sized,
impl<T> DerefOrBorrow<T> for Twhere
T: ?Sized,
fn deref_or_borrow(&self) -> &T
Source§impl<T> DerefOrBorrowMut<T> for Twhere
T: ?Sized,
impl<T> DerefOrBorrowMut<T> for Twhere
T: ?Sized,
fn deref_or_borrow_mut(&mut self) -> &mut T
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