[][src]Trait solana_sdk::instruction_processor_utils::DecodeError

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

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

Required methods

fn type_of(&self) -> &'static str

Loading content...

Provided methods

fn decode_custom_error_to_enum(int: u32) -> Option<E> where
    E: FromPrimitive

Loading content...

Implementors

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

Loading content...