pub trait ExFromResidual<R> {
type ExternalTraitSpecificationFor: FromResidual<R>;
// Required methods
spec fn may_unwind(residual: &R) -> bool;
exec fn from_residual(residual: R) -> Self
where Self: Sized;
}Required Associated Types§
Required Methods§
Sourcespec fn may_unwind(residual: &R) -> bool
spec fn may_unwind(residual: &R) -> bool
Whether converting this residual may unwind.
Sourceexec fn from_residual(residual: R) -> Selfwhere
Self: Sized,
exec fn from_residual(residual: R) -> Selfwhere
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".