pub trait RowSource {
// Required method
fn next_row(&mut self) -> ExecResult<Option<Row>>;
}Expand description
Fallible pull-based row cursor.
Each call to RowSource::next_row returns the next row,
Ok(None) when the cursor is exhausted, or an error if execution
fails. The cursor stays in a valid state after an error — callers
may drop it without observing additional side effects.
Required Methods§
Sourcefn next_row(&mut self) -> ExecResult<Option<Row>>
fn next_row(&mut self) -> ExecResult<Option<Row>>
Pull the next row.