ChainErrorKind

Trait ChainErrorKind 

Source
pub trait ChainErrorKind: Fail + Sized {
    type Error: Fail + From<Context<Self>>;
}
Expand description

Trait which must be implemented by ErrorKind-s.

The Error associated type should select between UnboxedError<Self> or BoxedError<Self>.

Required Associated Types§

Source

type Error: Fail + From<Context<Self>>

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§