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§
fn print<E>(&self)
👎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".