Trait ntex_io::FilterFactory
source · pub trait FilterFactory<F>: Sized {
type Filter: FilterLayer;
type Error: Debug;
type Future: Future<Output = Result<Io<Layer<Self::Filter, F>>, Self::Error>>;
fn create(self, st: Io<F>) -> Self::Future;
}Expand description
Creates new Filter values.
Required Associated Types§
sourcetype Filter: FilterLayer
type Filter: FilterLayer
The Filter value created by this factory