#[non_exhaustive]pub enum SelectExecutedIn {
PrimaryEngine,
SecondaryEngine,
}Expand description
Which engine MySQL executed a SELECT on, exposed to the post-select
notification.
Mirrors enum class SelectExecutedIn : bool in mysql-server/sql/handler.h.
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.
PrimaryEngine
kPrimaryEngine: the primary (this) engine ran the query.
SecondaryEngine
kSecondaryEngine: a secondary engine ran the query.
Implementations§
Trait Implementations§
Source§impl Clone for SelectExecutedIn
impl Clone for SelectExecutedIn
Source§fn clone(&self) -> SelectExecutedIn
fn clone(&self) -> SelectExecutedIn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SelectExecutedIn
Source§impl Debug for SelectExecutedIn
impl Debug for SelectExecutedIn
impl Eq for SelectExecutedIn
Source§impl PartialEq for SelectExecutedIn
impl PartialEq for SelectExecutedIn
Source§fn eq(&self, other: &SelectExecutedIn) -> bool
fn eq(&self, other: &SelectExecutedIn) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelectExecutedIn
Auto Trait Implementations§
impl Freeze for SelectExecutedIn
impl RefUnwindSafe for SelectExecutedIn
impl Send for SelectExecutedIn
impl Sync for SelectExecutedIn
impl Unpin for SelectExecutedIn
impl UnsafeUnpin for SelectExecutedIn
impl UnwindSafe for SelectExecutedIn
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