RangeProcessor

Trait RangeProcessor 

Source
pub trait RangeProcessor {
    // Required method
    fn process_range(
        &self,
        start: &str,
        end: &str,
    ) -> (Option<Bytes>, Option<Bytes>);
}
Expand description

A RangeProcessor can be used to customize how a crate::QueryParser expands range-based queries

Required Methods§

Source

fn process_range( &self, start: &str, end: &str, ) -> (Option<Bytes>, Option<Bytes>)

Convert the start and end of the range from a query string into a Query, if possible

Implementors§