Trait IntoDeError
pub trait IntoDeError {
// Required method
fn into_de_error<E>(self) -> E
where E: Error;
}
Expand description
Converts error into a type implementing serde::de::Error
Required Methods§
fn into_de_error<E>(self) -> Ewhere
E: Error,
fn into_de_error<E>(self) -> Ewhere
E: Error,
Performs the conversion.
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.