Enum rusqlite::StatementStatus [−][src]
#[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.
Equivalent to SQLITE_STMTSTATUS_FULLSCAN_STEP
Equivalent to SQLITE_STMTSTATUS_SORT
Equivalent to SQLITE_STMTSTATUS_AUTOINDEX
Equivalent to SQLITE_STMTSTATUS_VM_STEP
Equivalent to SQLITE_STMTSTATUS_REPREPARE
Equivalent to SQLITE_STMTSTATUS_RUN
Equivalent to SQLITE_STMTSTATUS_MEMUSED
Trait Implementations
impl Clone for StatementStatus
[src]
fn clone(&self) -> StatementStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for StatementStatus
[src]
impl Eq for StatementStatus
[src]
impl PartialEq<StatementStatus> for StatementStatus
[src]
fn eq(&self, other: &StatementStatus) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl StructuralEq for StatementStatus
[src]
impl StructuralPartialEq for StatementStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for StatementStatus
impl Send for StatementStatus
impl Sync for StatementStatus
impl Unpin for StatementStatus
impl UnwindSafe for StatementStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,