Skip to main content

IntoSyncError

Trait IntoSyncError 

Source
pub trait IntoSyncError {
    // Required method
    fn into_sync_issues(self, field: &str, code: &str) -> Vec<FieldIssue>;
}
Expand description

Error types convertible into FieldIssues inside synchronous Result<(), E> and Result<bool, E> checks.

Required Methods§

Source

fn into_sync_issues(self, field: &str, code: &str) -> Vec<FieldIssue>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl IntoSyncError for &'static str

Source§

fn into_sync_issues(self, field: &str, code: &str) -> Vec<FieldIssue>

Source§

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

Source§

fn into_sync_issues(self, field: &str, _code: &str) -> Vec<FieldIssue>

Source§

impl IntoSyncError for (String, String)

Source§

fn into_sync_issues(self, field: &str, _code: &str) -> Vec<FieldIssue>

Source§

impl IntoSyncError for String

Source§

fn into_sync_issues(self, field: &str, code: &str) -> Vec<FieldIssue>

Source§

impl IntoSyncError for Vec<FieldIssue>

Source§

fn into_sync_issues(self, field: &str, _code: &str) -> Vec<FieldIssue>

Implementors§