pub trait Chunker: Send + Sync {
// Required method
fn chunk(&self, text: &str) -> Vec<ChunkCandidate>;
}Required Methods§
fn chunk(&self, text: &str) -> Vec<ChunkCandidate>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".