pub trait AsPaymentProblem {
// Required method
fn as_payment_problem(&self) -> PaymentProblem;
}Expand description
Trait for converting errors into PaymentProblems.
Required Methods§
Sourcefn as_payment_problem(&self) -> PaymentProblem
fn as_payment_problem(&self) -> PaymentProblem
Produces the canonical wire-level payment problem.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".