Skip to main content

BoxedNextFn

Type Alias BoxedNextFn 

Source
pub type BoxedNextFn = Box<dyn FnOnce(Box<dyn Any + Send>) -> Pin<Box<dyn Future<Output = Result<Box<dyn Any + Send>, Error>> + Send>> + Send>;
Expand description

Type-erased continuation function for pipeline behaviors.

Carries a boxed request to the next behavior (or terminal handler).

Aliased Type§

pub struct BoxedNextFn(/* private fields */);