Skip to main content

ExFromResidual

Trait ExFromResidual 

Source
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§

Source

spec fn may_unwind(residual: &R) -> bool

Whether converting this residual may unwind.

Source

exec fn from_residual(residual: R) -> Self
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§