Trait asn1_der::ErrorChain

source ·
pub trait ErrorChain {
    // Required method
    fn propagate(self, desc: &'static str) -> Self;
}
Expand description

A trait to chain errors

Required Methods§

source

fn propagate(self, desc: &'static str) -> Self

Chains another error to self

Info: does nothing if build with no_std

Implementations on Foreign Types§

source§

impl<T> ErrorChain for Result<T, Asn1DerError>

source§

fn propagate(self, _desc: &'static str) -> Self

Implementors§