Trait IntoDeError

Source
pub trait IntoDeError {
    // Required method
    fn into_de_error<E: Error>(self) -> E;
}
Expand description

Converts error into a type implementing serde::de::Error

Required Methods§

Source

fn into_de_error<E: Error>(self) -> E

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.

Implementors§

Source§

impl IntoDeError for bitcoin::consensus::serde::hex::DecodeError

Source§

impl IntoDeError for DecodeInitError

Source§

impl<E> IntoDeError for bitcoin::consensus::DecodeError<E>
where E: IntoDeError,