Trait Chunker

Source
pub trait Chunker<'a> {
    type Input;

    // Required method
    fn chunk(&self, input: Self::Input) -> Result<Vec<Chunk<'a>>, Error>;
}

Required Associated Types§

Required Methods§

Source

fn chunk(&self, input: Self::Input) -> Result<Vec<Chunk<'a>>, Error>

Implementors§

Source§

impl<'a> Chunker<'a> for RecursiveChunker<'a>

Source§

type Input = &'a str

Source§

impl<'a> Chunker<'a> for SimpleChunker

Source§

type Input = &'a str