PrintProgramError

Trait PrintProgramError 

Source
pub trait PrintProgramError {
    // Required method
    fn print<E>(&self)
       where E: 'static + Error + DecodeError<E> + PrintProgramError + FromPrimitive;
}
👎Deprecated since 2.2.2: Use ToStr instead with clone_solana_msg::msg! or any other logging

Required Methods§

Source

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

👎Deprecated since 2.2.2: Use ToStr instead with clone_solana_msg::msg! or any other logging

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.

Implementations on Foreign Types§

Source§

impl PrintProgramError for SystemError

Source§

fn print<E>(&self)

👎Deprecated since 2.2.2: Use ToStr instead with clone_solana_msg::msg! or any other logging

Implementors§