Skip to main content

Fold

Trait Fold 

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

Source

fn open<S: Slot<P>>(self, slot: S, body: K::Open<F>) -> Self::Output

Source

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".

Implementors§