pub trait PartitionSearchControl: Send + Sync {
// Required method
fn should_stop(&self) -> bool;
// Provided method
fn record_batch(&self, _batch: &RecordBatch) { ... }
}Expand description
Controls when a multi-partition search should stop producing more partition results.
Required Methods§
fn should_stop(&self) -> bool
Provided Methods§
fn record_batch(&self, _batch: &RecordBatch)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".