Enum solana_sdk::message::SanitizeMessageError
source · pub enum SanitizeMessageError {
IndexOutOfBounds,
ValueOutOfBounds,
InvalidValue,
AddressLoaderError(AddressLoaderError),
}
Variants§
Trait Implementations§
source§impl Clone for SanitizeMessageError
impl Clone for SanitizeMessageError
source§fn clone(&self) -> SanitizeMessageError
fn clone(&self) -> SanitizeMessageError
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 SanitizeMessageError
impl Debug for SanitizeMessageError
source§impl Display for SanitizeMessageError
impl Display for SanitizeMessageError
source§impl Error for SanitizeMessageError
impl Error for SanitizeMessageError
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) -> SanitizeMessageError
fn from(source: AddressLoaderError) -> SanitizeMessageError
Converts to this type from the input type.
source§impl From<SanitizeError> for SanitizeMessageError
impl From<SanitizeError> for SanitizeMessageError
source§fn from(err: SanitizeError) -> SanitizeMessageError
fn from(err: SanitizeError) -> SanitizeMessageError
Converts to this type from the input type.
source§impl From<SanitizeMessageError> for TransactionError
impl From<SanitizeMessageError> for TransactionError
source§fn from(err: SanitizeMessageError) -> Self
fn from(err: SanitizeMessageError) -> Self
Converts to this type from the input type.
source§impl PartialEq<SanitizeMessageError> for SanitizeMessageError
impl PartialEq<SanitizeMessageError> for SanitizeMessageError
source§fn eq(&self, other: &SanitizeMessageError) -> bool
fn eq(&self, other: &SanitizeMessageError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.