pub trait IntoChained {
// Required method
fn into_chained<S>(self, source: S) -> StrError
where S: Into<Box<dyn Error + Send + Sync>>;
}
Expand description
Trait providing into_chained
for
converting context into a chained error.
You will likely not use this trait directly, and it is not in the
prelude. It is used to implement ChainErr
and
ChainError
, which you should use instead.
Required Methods§
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.