process_batch_output_and_errors

Function process_batch_output_and_errors 

Source
pub async fn process_batch_output_and_errors<T>(
    workspace: &dyn BatchWorkspaceInterface,
    batch_execution_result: &BatchExecutionResult,
    expected_content_type: &ExpectedContentType,
) -> Result<(), BatchProcessingError>
Expand description

We add 'static + Send + Sync to T, so that storing it in an Arc<dyn ... + Send + Sync + 'static> is valid and the resulting Future can be Send.