Trait list_fn::FilterScanFn

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

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

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

Required Associated Types§

Required Methods§

source

fn map_input(self, input: Self::InputItem) -> FilterScanState<Self>

source

fn map_result(self, result: Self::InputResult) -> Self::OutputResult

Provided Methods§

source

fn some(self, first: Self::OutputItem) -> FilterScanState<Self>

source

fn end(self) -> FilterScanState<Self>

Object Safety§

This trait is not object safe.

Implementors§