pub trait PageSinkFactory: Send + Sync {
// Required method
fn create_sink(
&self,
output_path: &str,
) -> Result<Box<dyn PageSink>, String>;
}Expand description
Factory for creating per-page sinks.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".