[][src]Trait solana_program::decode_error::DecodeError

pub trait DecodeError<E> {
    pub fn type_of() -> &'static str;

    pub fn decode_custom_error_to_enum(custom: u32) -> Option<E>
    where
        E: FromPrimitive
, { ... } }

Allows custom errors to be decoded back to their original enum

Required methods

pub fn type_of() -> &'static str[src]

Loading content...

Provided methods

pub fn decode_custom_error_to_enum(custom: u32) -> Option<E> where
    E: FromPrimitive
[src]

Loading content...

Implementors

impl<E> DecodeError<E> for NonceError[src]

impl<T> DecodeError<T> for ParsePubkeyError[src]

impl<T> DecodeError<T> for PubkeyError[src]

impl<T> DecodeError<T> for SystemError[src]

Loading content...