Skip to main content

InnerChain

Type Alias InnerChain 

Source
pub(crate) type InnerChain<T, R> = Vec<Box<dyn Handler<T, R> + Send>>;
Expand description

Inner chain type.

This holds all handlers, which were chained together. Handlers are traversed in order.

Each handler needs to implement the Handler trait and be Send, because the chain is traversed concurrently and the handlers can be sent between threads.

Aliased Typeยง

pub(crate) struct InnerChain<T, R> { /* private fields */ }