pub trait DocumentChunk {
type Error: Error + 'static + Send + Sync;
// Required method
fn chunk(&self, doc: &Document) -> Result<Vec<Chunk>, Self::Error>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".