pub trait InternalVirtualTableCursor: Send + Sync {
// Required methods
fn next(&mut self) -> Result<bool, LimboError>;
fn rowid(&self) -> i64;
fn column(&self, column: usize) -> Result<Value, LimboError>;
fn filter(
&mut self,
args: &[Value],
idx_str: Option<String>,
idx_num: i32,
) -> Result<bool, LimboError>;
}Required Methods§
Sourcefn next(&mut self) -> Result<bool, LimboError>
fn next(&mut self) -> Result<bool, LimboError>
next returns Ok(true) if there are more rows, and Ok(false) otherwise.
fn rowid(&self) -> i64
fn column(&self, column: usize) -> Result<Value, LimboError>
fn filter( &mut self, args: &[Value], idx_str: Option<String>, idx_num: i32, ) -> Result<bool, LimboError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".