#[non_exhaustive]#[repr(u32)]pub enum mysql_stmt_state {
MYSQL_STMT_INITTED = 0,
MYSQL_STMT_PREPARED = 1,
MYSQL_STMT_EXECUTED = 2,
MYSQL_STMT_WAITING_USE_OR_STORE = 3,
MYSQL_STMT_USE_OR_STORE_CALLED = 4,
MYSQL_STMT_USER_FETCHING = 5,
MYSQL_STMT_FETCH_DONE = 6,
}
Variants (Non-exhaustive)§
This enum is marked as 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.
MYSQL_STMT_INITTED = 0
MYSQL_STMT_PREPARED = 1
MYSQL_STMT_EXECUTED = 2
MYSQL_STMT_WAITING_USE_OR_STORE = 3
MYSQL_STMT_USE_OR_STORE_CALLED = 4
MYSQL_STMT_USER_FETCHING = 5
MYSQL_STMT_FETCH_DONE = 6
Trait Implementations§
source§impl Clone for mysql_stmt_state
impl Clone for mysql_stmt_state
source§fn clone(&self) -> mysql_stmt_state
fn clone(&self) -> mysql_stmt_state
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for mysql_stmt_state
impl Debug for mysql_stmt_state
source§impl Hash for mysql_stmt_state
impl Hash for mysql_stmt_state
source§impl PartialEq for mysql_stmt_state
impl PartialEq for mysql_stmt_state
source§fn eq(&self, other: &mysql_stmt_state) -> bool
fn eq(&self, other: &mysql_stmt_state) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for mysql_stmt_state
impl Eq for mysql_stmt_state
impl StructuralPartialEq for mysql_stmt_state
Auto Trait Implementations§
impl Freeze for mysql_stmt_state
impl RefUnwindSafe for mysql_stmt_state
impl Send for mysql_stmt_state
impl Sync for mysql_stmt_state
impl Unpin for mysql_stmt_state
impl UnwindSafe for mysql_stmt_state
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more