pub trait Continuation {
type Input<'a>;
type Output;
// Required method
fn apply<'a>(&self, i: Self::Input<'a>) -> Self::Output;
}
Expand description
Use this Continuation trait instead of Fn(Input) -> Output to avoid unsupported Verus features
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.