pub trait IntoReportCompat: Sized {
type Ok;
type Err;
// Required method
fn into_report(self) -> Result<Self::Ok, Report<Self::Err>>;
}Expand description
Required Associated Types§
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.
Implementations on Foreign Types§
Source§impl<T> IntoReportCompat for Result<T, Error>
Available on crate feature anyhow only.
impl<T> IntoReportCompat for Result<T, Error>
Available on crate feature
anyhow only.Source§impl<T> IntoReportCompat for Result<T, Report>
Available on crate feature eyre only.
impl<T> IntoReportCompat for Result<T, Report>
Available on crate feature
eyre only.