pub trait DocumentLoader: Send + Sync {
// Required methods
fn load(
&self,
path: &Path,
) -> Pin<Box<dyn Future<Output = Result<Vec<Document>, DocumentError>> + Send + '_>>;
fn supported_extensions(&self) -> &[&str];
}