Skip to main content

ExtractionEngine

Trait ExtractionEngine 

Source
pub trait ExtractionEngine {
    // Required methods
    fn name(&self) -> &'static str;
    fn extract(&self, source: &Source) -> Result<Document>;
}

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn extract(&self, source: &Source) -> Result<Document>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§