pub trait FilterFactory<F: Filter>: Sized {
    type Filter: Filter;
    type Error: Debug;
    type Future: Future<Output = Result<Io<Self::Filter>, Self::Error>>;

    fn create(self, st: Io<F>) -> Self::Future;
}
Expand description

Creates new Filter values.

Required Associated Types§

The Filter value created by this factory

Errors produced while building a filter.

The future of the FilterFactory instance.

Required Methods§

Create and return a new filter value asynchronously.

Implementors§