Enum mysqlclient_sys::mysql_status
source · #[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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)