bdk_chain::bitcoin::consensus::serde

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) -> E
where 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.

Implementors§

§

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

§

impl IntoDeError for DecodeInitError

§

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