pub trait InvalidFieldErr {
// Required method
fn invalid_field(
context: &'static str,
field: &'static str,
reason: &'static str,
) -> Self;
}
Expand description
Trait for creating “invalid field” errors.
Required Methods§
Sourcefn invalid_field(
context: &'static str,
field: &'static str,
reason: &'static str,
) -> Self
fn invalid_field( context: &'static str, field: &'static str, reason: &'static str, ) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.