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.

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,