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§
Sourcefn with_file_processing_context(self, path: &Path) -> Result<T>
fn with_file_processing_context(self, path: &Path) -> Result<T>
Add context for file processing operations
Sourcefn with_chunking_context(self, path: &Path) -> Result<T>
fn with_chunking_context(self, path: &Path) -> Result<T>
Add context for chunking operations
Sourcefn with_embedding_context(self, path: &Path) -> Result<T>
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".