#[repr(u32)]pub enum ProgramError {
UnsupportedPair = 0,
InvalidRouteAccounts = 1,
ExoRegistryFull = 2,
ExoAlreadyRegistered = 3,
AdminNoop = 4,
}Variants§
UnsupportedPair = 0
InvalidRouteAccounts = 1
ExoRegistryFull = 2
ExoAlreadyRegistered = 3
AdminNoop = 4
Implementations§
Trait Implementations§
Source§impl Clone for ProgramError
impl Clone for ProgramError
impl Copy for ProgramError
Source§impl Debug for ProgramError
impl Debug for ProgramError
Source§impl Display for ProgramError
impl Display for ProgramError
Source§impl From<ProgramError> for u32
impl From<ProgramError> for u32
Source§fn from(e: ProgramError) -> u32
fn from(e: ProgramError) -> u32
Converts to this type from the input type.
Source§impl From<ProgramError> for Error
impl From<ProgramError> for Error
Source§fn from(error_code: ProgramError) -> Error
fn from(error_code: ProgramError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProgramError
impl RefUnwindSafe for ProgramError
impl Send for ProgramError
impl Sync for ProgramError
impl Unpin for ProgramError
impl UnsafeUnpin for ProgramError
impl UnwindSafe for ProgramError
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