Skip to main content

IntoAsyncError

Trait IntoAsyncError 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoAsyncError for &'static str

Source§

impl IntoAsyncError for (&'static str, &'static str)

Source§

impl IntoAsyncError for (String, String)

Source§

impl IntoAsyncError for String

Source§

impl IntoAsyncError for Vec<FieldIssue>

Implementors§