Skip to main content

ProcessingErrorContext

Trait ProcessingErrorContext 

Source
pub trait ProcessingErrorContext<T> {
    // Required methods
    fn with_file_processing_context(self, path: &Path) -> Result<T>;
    fn with_chunking_context(self, path: &Path) -> Result<T>;
    fn with_embedding_context(self, path: &Path) -> Result<T>;
}
Expand description

Processing operation error contexts

Required Methods§

Source

fn with_file_processing_context(self, path: &Path) -> Result<T>

Add context for file processing operations

Source

fn with_chunking_context(self, path: &Path) -> Result<T>

Add context for chunking operations

Source

fn with_embedding_context(self, path: &Path) -> Result<T>

Add context for embedding generation operations

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T> ProcessingErrorContext<T> for Result<T>

Implementors§