pub trait Fold<P, F: Set, K: Kind>: Sized {
type Output;
// Required methods
fn open<S: Slot<P>>(self, slot: S, body: K::Open<F>) -> Self::Output;
fn finished<S: Slot<P>>(self, slot: S, body: K::Finished<F>) -> Self::Output;
}Expand description
Terminal consumer for a route family proven to have one execution kind.
Required Associated Types§
Required Methods§
fn open<S: Slot<P>>(self, slot: S, body: K::Open<F>) -> Self::Output
fn finished<S: Slot<P>>(self, slot: S, body: K::Finished<F>) -> Self::Output
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".