pub trait IntoAppError<E> {
// Required method
fn into_app_error(self) -> E;
}Expand description
A helper trait for converting a ServerFnErrorErr into an application-specific custom error type that implements FromServerFnError.
Required Methods§
Sourcefn into_app_error(self) -> E
fn into_app_error(self) -> E
Converts a ServerFnErrorErr into the application-specific custom error type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".