[][src]Struct rusqlite::vtab::IndexInfo

pub struct IndexInfo(_);

Pass information into and receive the reply from the VTab.best_index method.

(See SQLite doc)

Methods

impl IndexInfo[src]

Important traits for IndexConstraintIter<'a>
pub fn constraints(&self) -> IndexConstraintIter[src]

Record WHERE clause constraints.

Important traits for OrderByIter<'a>
pub fn order_bys(&self) -> OrderByIter[src]

Information about the ORDER BY clause.

pub fn num_of_order_by(&self) -> usize[src]

Number of terms in the ORDER BY clause

pub fn constraint_usage(
    &mut self,
    constraint_idx: usize
) -> IndexConstraintUsage
[src]

pub fn set_idx_num(&mut self, idx_num: c_int)[src]

Number used to identify the index

pub fn set_order_by_consumed(&mut self, order_by_consumed: bool)[src]

True if output is already ordered

pub fn set_estimated_cost(&mut self, estimated_ost: f64)[src]

Estimated cost of using this index

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]