ErrorComparator

Type Alias ErrorComparator 

Source
pub type ErrorComparator = fn(&Error, &Error) -> bool;
Expand description

Function type for comparing user errors during early cutoff.

Used by QueryRuntimeBuilder::error_comparator to customize how QueryError::UserError values are compared for caching purposes.