pub trait PureEffect: TypedEffect { }Expand description
Marker: a pure function of its inputs with no observable effect beyond
its return value (wire class Effect::Pure).
Pure work may be cached, memoized, and speculated freely: re-execution is
always safe and always equivalent, so a speculative result and an
on-demand result are indistinguishable. Declare it by implementing this
trait; admit_speculation is the enforcement point speculators call.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".