Skip to main content

DynamicPredicateSource

Trait DynamicPredicateSource 

Source
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§

Source

fn runtime_range(&self) -> RuntimeRange

Source

fn filters_rows(&self) -> bool

Whether the producer has published a predicate that rejects rows.

Source

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".

Implementors§