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§
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>
Object Safety§
This trait is not object safe.