#[non_exhaustive]#[repr(u32)]pub enum mysql_status {
MYSQL_STATUS_READY = 0,
MYSQL_STATUS_GET_RESULT = 1,
MYSQL_STATUS_USE_RESULT = 2,
MYSQL_STATUS_QUERY_SENT = 3,
MYSQL_STATUS_SENDING_LOAD_DATA = 4,
MYSQL_STATUS_FETCHING_DATA = 5,
MYSQL_STATUS_NEXT_RESULT_PENDING = 6,
MYSQL_STATUS_QUIT_SENT = 7,
MYSQL_STATUS_STMT_RESULT = 8,
}
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_STATUS_READY = 0
MYSQL_STATUS_GET_RESULT = 1
MYSQL_STATUS_USE_RESULT = 2
MYSQL_STATUS_QUERY_SENT = 3
MYSQL_STATUS_SENDING_LOAD_DATA = 4
MYSQL_STATUS_FETCHING_DATA = 5
MYSQL_STATUS_NEXT_RESULT_PENDING = 6
MYSQL_STATUS_QUIT_SENT = 7
MYSQL_STATUS_STMT_RESULT = 8
Trait Implementations§
Source§impl Clone for mysql_status
impl Clone for mysql_status
Source§fn clone(&self) -> mysql_status
fn clone(&self) -> mysql_status
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_status
impl Debug for mysql_status
Source§impl Hash for mysql_status
impl Hash for mysql_status
Source§impl PartialEq for mysql_status
impl PartialEq for mysql_status
impl Copy for mysql_status
impl Eq for mysql_status
impl StructuralPartialEq for mysql_status
Auto Trait Implementations§
impl Freeze for mysql_status
impl RefUnwindSafe for mysql_status
impl Send for mysql_status
impl Sync for mysql_status
impl Unpin for mysql_status
impl UnwindSafe for mysql_status
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