Trait ReconcileUnprocessed

Source
pub trait ReconcileUnprocessed<E> {
    // Required method
    fn reconcile_unprocessed<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 mut self,
        client: &'life1 dyn LanguageModelClientInterface<E, Error = E, Error = E, Error = E, Error = E, Error = E>,
        expected_content_type: &'life2 ExpectedContentType,
        process_output_file_fn: &'life3 for<'a> fn(&'a BatchFileTriple, &'a dyn BatchWorkspaceInterface<Item = Arc<dyn GetTargetPathForAIExpansion + Sync + Send>>, &'a ExpectedContentType) -> Pin<Box<dyn Future<Output = Result<(), BatchOutputProcessingError>> + Send + 'a>>,
        process_error_file_fn: &'life4 for<'a> fn(&'a BatchFileTriple, &'a [BatchErrorFileProcessingOperation]) -> Pin<Box<dyn Future<Output = Result<(), BatchErrorProcessingError>> + Send + 'a>>,
    ) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait,
             Self: 'async_trait;
}
Expand description

Trait describing how a BatchFileTriple can be reconciled if unprocessed.

Required Methods§

Source

fn reconcile_unprocessed<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 mut self, client: &'life1 dyn LanguageModelClientInterface<E, Error = E, Error = E, Error = E, Error = E, Error = E>, expected_content_type: &'life2 ExpectedContentType, process_output_file_fn: &'life3 for<'a> fn(&'a BatchFileTriple, &'a dyn BatchWorkspaceInterface<Item = Arc<dyn GetTargetPathForAIExpansion + Sync + Send>>, &'a ExpectedContentType) -> Pin<Box<dyn Future<Output = Result<(), BatchOutputProcessingError>> + Send + 'a>>, process_error_file_fn: &'life4 for<'a> fn(&'a BatchFileTriple, &'a [BatchErrorFileProcessingOperation]) -> Pin<Box<dyn Future<Output = Result<(), BatchErrorProcessingError>> + Send + 'a>>, ) -> Pin<Box<dyn Future<Output = Result<(), E>> + Send + 'async_trait>>
where 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait, Self: 'async_trait,

Implementors§