process_file

Function process_file 

Source
pub async fn process_file(
    config: &Option<ProcessingConfig>,
    layer: &ProcessingLayer,
    bytes: Bytes,
    mime: &Mime,
) -> Result<Option<ProcessingOutput>, ProcessingError>
Expand description

Processes a file returning the generated processing output

ยงArguments

  • config - Optional config for processing
  • converter - Converter for office files
  • file_bytes - Actual byte contents of the file
  • mime - Mime type of the file being processed