pub trait FromResidual<R = <Self as Try>::Residual> {
// Required method
fn from_residual(residual: R) -> Self;
}Expand description
Used to specify which residuals can be converted into which core::ops::Try types.
Required Methods§
Sourcefn from_residual(residual: R) -> Self
fn from_residual(residual: R) -> Self
Constructs the type from a compatible Residual type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".