Trait walker_common::fetcher::DataProcessor

source ·
pub trait DataProcessor {
    type Type: Sized;

    // Required method
    fn process(
        &self,
        response: Response
    ) -> impl Future<Output = Result<Self::Type, Error>>;
}
Expand description

Processing data returned by a request.

Required Associated Types§

Required Methods§

source

fn process( &self, response: Response ) -> impl Future<Output = Result<Self::Type, Error>>

Object Safety§

This trait is not object safe.

Implementors§