Trait sqlite_loadable::table::VTab
source · pub trait VTab<'vtab>: Sized {
type Aux;
type Cursor: VTabCursor;
fn connect(
db: *mut sqlite3,
aux: Option<&Self::Aux>,
args: VTabArguments
) -> Result<(String, Self)>;
fn best_index(&self, info: IndexInfo) -> Result<(), BestIndexError>;
fn open(&'vtab mut self) -> Result<Self::Cursor>;
fn create(
db: *mut sqlite3,
aux: Option<&Self::Aux>,
args: VTabArguments
) -> Result<(String, Self)> { ... }
fn destroy(&self) -> Result<()> { ... }
}