pub trait RowSink {
// Required methods
fn columns(&mut self, columns: &[String]);
fn row(&mut self, row: Vec<Value>) -> ControlFlow<()>;
}Expand description
Receiver for Executor::execute_streaming_with_options — rows are
pushed one at a time, never materialized as a whole result.
columns is called exactly once, before the first row. Returning
Break from row stops the scan cleanly (early termination, not an
error).
Required Methods§
fn columns(&mut self, columns: &[String])
fn row(&mut self, row: Vec<Value>) -> ControlFlow<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".