pub trait PageImageProcessor: Source {
// Required method
fn process_page_image(
&self,
response: ImageResponse,
context: Option<PageContext>,
) -> Result<ImageRef>;
}Expand description
A source that processes page image data after being fetched.
Required Methods§
fn process_page_image( &self, response: ImageResponse, context: Option<PageContext>, ) -> Result<ImageRef>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.