Trait list_fn::ScanFn

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

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

Required Associated Types§

Required Methods§

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§