Trait list_fn::FilterScanFn

source ·
pub trait FilterScanFn: Sized {
    type InputItem;
    type InputResult;
    type OutputItem;
    type OutputResult;

    fn map_input(self, input: Self::InputItem) -> FilterScanState<Self>;
    fn map_result(self, result: Self::InputResult) -> Self::OutputResult;

    fn some(self, first: Self::OutputItem) -> FilterScanState<Self> { ... }
    fn end(self) -> FilterScanState<Self> { ... }
}

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§