pub trait IntoActionError {
// Required method
fn into_action_error(self) -> ActionError;
}Expand description
Conversion trait for the long-tail Display types not covered by the concrete
From impls. Use ActionResultExt::action_err for ergonomic ?-style
conversion at the call site.
Required Methods§
Sourcefn into_action_error(self) -> ActionError
fn into_action_error(self) -> ActionError
Convert this error into an ActionError.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".