pub trait AsPaymentProblem {
// Required method
fn as_payment_problem(&self) -> PaymentProblem;
}Expand description
Converts an error into a PaymentProblem.
Required Methods§
Sourcefn as_payment_problem(&self) -> PaymentProblem
fn as_payment_problem(&self) -> PaymentProblem
Canonical wire-level payment problem.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".