pub trait VTabCursor<P: Sqlite3Api>: Sized + Send {
type Error: Into<Error>;
// Required methods
fn filter(
&mut self,
idx_num: i32,
idx_str: Option<&str>,
args: &[ValueRef<'_>],
) -> Result<(), Self::Error>;
fn next(&mut self) -> Result<(), Self::Error>;
fn eof(&self) -> bool;
fn column(&self, ctx: &Context<'_, P>, col: i32) -> Result<(), Self::Error>;
fn rowid(&self) -> Result<i64, Self::Error>;
}Expand description
Virtual table cursor implementation.
Required Associated Types§
Required Methods§
fn filter( &mut self, idx_num: i32, idx_str: Option<&str>, args: &[ValueRef<'_>], ) -> Result<(), Self::Error>
fn next(&mut self) -> Result<(), Self::Error>
fn eof(&self) -> bool
fn column(&self, ctx: &Context<'_, P>, col: i32) -> Result<(), Self::Error>
fn rowid(&self) -> Result<i64, Self::Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.