pub trait FactoryLayer<C, F> {
    type Factory;

    // Required method
    fn layer(&self, config: &C, inner: F) -> Self::Factory;
}

Required Associated Types§

Required Methods§

source

fn layer(&self, config: &C, inner: F) -> Self::Factory

Implementors§

source§

impl<C, F, FN, O> FactoryLayer<C, F> for LayerFn<C, FN>where FN: Fn(&C, F) -> O,

§

type Factory = O