pub trait IngestionCallback: Send + Sync {
// Provided methods
fn on_progress(&mut self, _stage: &str, _message: &str) { ... }
fn on_file(&mut self, _path: &Path, _content: &str) { ... }
fn on_complete(&mut self, _files: usize, _bytes: usize) { ... }
fn on_error(&mut self, _error: &str) { ... }
}Provided Methods§
fn on_progress(&mut self, _stage: &str, _message: &str)
fn on_file(&mut self, _path: &Path, _content: &str)
fn on_complete(&mut self, _files: usize, _bytes: usize)
fn on_error(&mut self, _error: &str)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".