pub enum AddressLoaderError {
Disabled,
SlotHashesSysvarNotFound,
LookupTableAccountNotFound,
InvalidAccountOwner,
InvalidAccountData,
InvalidLookupIndex,
}
Variants§
Disabled
Address loading from lookup tables is disabled
SlotHashesSysvarNotFound
Failed to load slot hashes sysvar
LookupTableAccountNotFound
Attempted to lookup addresses from a table that does not exist
InvalidAccountOwner
Attempted to lookup addresses from an account owned by the wrong program
InvalidAccountData
Attempted to lookup addresses from an invalid account
InvalidLookupIndex
Address lookup contains an invalid index
Trait Implementations§
source§impl Clone for AddressLoaderError
impl Clone for AddressLoaderError
source§fn clone(&self) -> AddressLoaderError
fn clone(&self) -> AddressLoaderError
Returns a copy 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 AddressLoaderError
impl Debug for AddressLoaderError
source§impl Display for AddressLoaderError
impl Display for AddressLoaderError
source§impl Error for AddressLoaderError
impl Error for AddressLoaderError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<AddressLoaderError> for SanitizeMessageError
impl From<AddressLoaderError> for SanitizeMessageError
source§fn from(source: AddressLoaderError) -> Self
fn from(source: AddressLoaderError) -> Self
Converts to this type from the input type.
source§impl PartialEq<AddressLoaderError> for AddressLoaderError
impl PartialEq<AddressLoaderError> for AddressLoaderError
source§fn eq(&self, other: &AddressLoaderError) -> bool
fn eq(&self, other: &AddressLoaderError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.