pub trait DynamicPredicateSource: Send + Sync {
// Required methods
fn runtime_range(&self) -> RuntimeRange;
fn filters_rows(&self) -> bool;
fn can_bypass(&self) -> bool;
}Expand description
A reader’s view of a predicate that a producer sets at run time.
Required Methods§
fn runtime_range(&self) -> RuntimeRange
Sourcefn filters_rows(&self) -> bool
fn filters_rows(&self) -> bool
Whether the producer has published a predicate that rejects rows.
Sourcefn can_bypass(&self) -> bool
fn can_bypass(&self) -> bool
Whether a reader may stop evaluating the predicate when it rejects too little: it stays as it is once set, and the producer checks every row again.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".