Trait Chunker

Source
pub trait Chunker {
    type ErrorType: Error;

    // Required method
    fn generate_chunks(&self, raw_text: &str) -> Result<Chunks, Self::ErrorType>;
}

Required Associated Types§

Required Methods§

Source

fn generate_chunks(&self, raw_text: &str) -> Result<Chunks, Self::ErrorType>

Implementors§