pub trait IntoAsyncError {
// Required method
fn into_async_error_result(
self,
field: &str,
code: &str,
) -> AsyncCheckResult;
}Expand description
Error types convertible into AsyncCheckResult inside Result<(), E> and Result<bool, E>.
Required Methods§
fn into_async_error_result(self, field: &str, code: &str) -> AsyncCheckResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".