[][src]Enum rusqlite::StatementStatus

#[repr(i32)]
#[non_exhaustive]pub enum StatementStatus {
    FullscanStep,
    Sort,
    AutoIndex,
    VmStep,
    RePrepare,
    Run,
    MemUsed,
}

Prepared statement status counters.

See https://www.sqlite.org/c3ref/c_stmtstatus_counter.html for explanations of each.

Note that depending on your version of SQLite, all of these may not be available.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FullscanStep

Equivalent to SQLITE_STMTSTATUS_FULLSCAN_STEP

Sort

Equivalent to SQLITE_STMTSTATUS_SORT

AutoIndex

Equivalent to SQLITE_STMTSTATUS_AUTOINDEX

VmStep

Equivalent to SQLITE_STMTSTATUS_VM_STEP

RePrepare

Equivalent to SQLITE_STMTSTATUS_REPREPARE

Run

Equivalent to SQLITE_STMTSTATUS_RUN

MemUsed

Equivalent to SQLITE_STMTSTATUS_MEMUSED

Trait Implementations

impl Clone for StatementStatus[src]

impl Copy for StatementStatus[src]

impl Eq for StatementStatus[src]

impl PartialEq<StatementStatus> for StatementStatus[src]

impl StructuralEq for StatementStatus[src]

impl StructuralPartialEq for StatementStatus[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.