#[repr(u32)]
pub enum FixedTermErrorCode {
Show 56 variants
ArithmeticOverflow,
ArithmeticUnderflow,
FixedPointDivision,
DoesNotOwnTicket,
DoesNotOwnEventAdapter,
EventQueueFull,
FailedToDeserializeTicket,
ImmatureTicket,
InsufficientSeeds,
InvalidOrderPrice,
InvokeCreateAccount,
IoError,
MarketStateNotProgramOwned,
MissingEventAdapter,
MissingSplitTicket,
NoEvents,
NoMoreAccounts,
TermLoanHasWrongSequenceNumber,
OracleError,
OrderNotFound,
OrderbookPaused,
OrderRejected,
PriceMissing,
TicketNotFromManager,
TicketsPaused,
UnauthorizedCaller,
UserDoesNotOwnAccount,
UserDoesNotOwnAdapter,
UserNotInMarket,
WrongAdapter,
WrongAsks,
WrongAirspace,
WrongAirspaceAuthorization,
WrongBids,
WrongMarket,
WrongCrankAuthority,
WrongEventQueue,
WrongMarketState,
WrongTicketManager,
DoesNotOwnMarket,
WrongClaimAccount,
WrongCollateralAccount,
WrongClaimMint,
WrongCollateralMint,
WrongFeeDestination,
WrongOracle,
WrongMarginUser,
WrongMarginUserAuthority,
WrongProgramAuthority,
WrongTicketMint,
WrongTicketSettlementAccount,
WrongUnderlyingSettlementAccount,
WrongUnderlyingTokenMint,
WrongUserAccount,
WrongVault,
ZeroDivision,
}
Variants
ArithmeticOverflow
ArithmeticUnderflow
FixedPointDivision
DoesNotOwnTicket
DoesNotOwnEventAdapter
EventQueueFull
FailedToDeserializeTicket
ImmatureTicket
InsufficientSeeds
InvalidOrderPrice
InvokeCreateAccount
IoError
MarketStateNotProgramOwned
MissingEventAdapter
MissingSplitTicket
NoEvents
NoMoreAccounts
TermLoanHasWrongSequenceNumber
OracleError
OrderNotFound
OrderbookPaused
OrderRejected
PriceMissing
TicketNotFromManager
TicketsPaused
UnauthorizedCaller
UserDoesNotOwnAccount
UserDoesNotOwnAdapter
UserNotInMarket
WrongAdapter
WrongAsks
WrongAirspace
WrongAirspaceAuthorization
WrongBids
WrongMarket
WrongCrankAuthority
WrongEventQueue
WrongMarketState
WrongTicketManager
DoesNotOwnMarket
WrongClaimAccount
WrongCollateralAccount
WrongClaimMint
WrongCollateralMint
WrongFeeDestination
WrongOracle
WrongMarginUser
WrongMarginUserAuthority
WrongProgramAuthority
WrongTicketMint
WrongTicketSettlementAccount
WrongUnderlyingSettlementAccount
WrongUnderlyingTokenMint
WrongUserAccount
WrongVault
ZeroDivision
Implementations
Trait Implementations
sourceimpl Clone for FixedTermErrorCode
impl Clone for FixedTermErrorCode
sourcefn clone(&self) -> FixedTermErrorCode
fn clone(&self) -> FixedTermErrorCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FixedTermErrorCode
impl Debug for FixedTermErrorCode
sourceimpl Display for FixedTermErrorCode
impl Display for FixedTermErrorCode
sourceimpl From<FixedTermErrorCode> for Error
impl From<FixedTermErrorCode> for Error
sourcefn from(error_code: FixedTermErrorCode) -> Error
fn from(error_code: FixedTermErrorCode) -> Error
Converts to this type from the input type.
sourceimpl From<FixedTermErrorCode> for u32
impl From<FixedTermErrorCode> for u32
sourcefn from(e: FixedTermErrorCode) -> u32
fn from(e: FixedTermErrorCode) -> u32
Converts to this type from the input type.
impl Copy for FixedTermErrorCode
Auto Trait Implementations
impl RefUnwindSafe for FixedTermErrorCode
impl Send for FixedTermErrorCode
impl Sync for FixedTermErrorCode
impl Unpin for FixedTermErrorCode
impl UnwindSafe for FixedTermErrorCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more