#[non_exhaustive]pub enum Unresolvable {
Show 13 variants
MalformedList,
NoExecuteEntry,
ListTooLong,
MalformedExtra,
MalformedSeed,
TooManySeeds,
SeedTooLong,
ExtraSigns,
ReadsTransferAmount,
ReadsPastInstructionData,
NamesUnresolvedAccount,
ReadsSwapTimeData,
Clash(Clash),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MalformedList
NoExecuteEntry
ListTooLong
An extra is at an account index above 255.
MalformedExtra
MalformedSeed
TooManySeeds
A PDA has more than 15 seeds. The bump is the 16th.
SeedTooLong
ExtraSigns
ReadsTransferAmount
A seed reads the transfer amount. The program sets the amount of one leg during the swap.
ReadsPastInstructionData
An extra reads a pubkey from the Execute data. The data is 16 bytes,
shorter than a pubkey.
NamesUnresolvedAccount
ReadsSwapTimeData
Clash(Clash)
A clash that MarketHooks::screen finds. It applies to every trader.
Trait Implementations§
Source§impl Clone for Unresolvable
impl Clone for Unresolvable
impl Copy for Unresolvable
Source§impl Debug for Unresolvable
impl Debug for Unresolvable
Source§impl Display for Unresolvable
impl Display for Unresolvable
impl Eq for Unresolvable
Source§impl PartialEq for Unresolvable
impl PartialEq for Unresolvable
impl StructuralPartialEq for Unresolvable
Auto Trait Implementations§
impl Freeze for Unresolvable
impl RefUnwindSafe for Unresolvable
impl Send for Unresolvable
impl Sync for Unresolvable
impl Unpin for Unresolvable
impl UnsafeUnpin for Unresolvable
impl UnwindSafe for Unresolvable
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