pub trait ChunkValidator {
    // Required method
    fn validate_chunk(&self, chunk: &str, chunk_size: usize) -> bool;
}
Expand description

Determines if a given piece of text is still a valid chunk.

Required Methods§

source

fn validate_chunk(&self, chunk: &str, chunk_size: usize) -> bool

Determine if the given chunk still fits within the specified max chunk size.

Implementors§