solana_program_error

Trait PrintProgramError

Source
pub trait PrintProgramError {
    // Required method
    fn print<E>(&self)
       where E: 'static + Error + DecodeError<E> + PrintProgramError + FromPrimitive;
}

Required Methods§

Source

fn print<E>(&self)
where E: 'static + Error + DecodeError<E> + PrintProgramError + FromPrimitive,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§