pub trait ResultExt<T, E: ErrorExt> {
// Required methods
fn with_message<D: Display>(
self,
f: impl FnOnce() -> D,
) -> Result<T, DynError>;
fn into_dyn_result(self) -> Result<T, DynError>;
}Required Methods§
fn with_message<D: Display>(self, f: impl FnOnce() -> D) -> Result<T, DynError>
fn into_dyn_result(self) -> Result<T, DynError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".