pub trait Processor {
// Required methods
fn handles(&self, media_type: &str) -> bool;
fn process(
&self,
asset_uri: &str,
bytes: &[u8],
media_type: &str,
) -> ProcessorOutput;
}Expand description
A processor: ingest an asset (bytes + media-type) → derive its searchable representations + facets.