Trait Executor
pub trait Executor: Send + 'static {
// Required methods
fn schema(&self) -> &Schema;
fn identity(&self) -> &str;
fn execute(
self: Box<Self>,
) -> Pin<Box<dyn Stream<Item = Result<DataChunk, BatchError>> + Send>>;
}Expand description
Refactoring of Executor using Stream.
Required Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".