#[non_exhaustive]#[repr(u32)]pub enum enum_session_state_type {
SESSION_TRACK_SYSTEM_VARIABLES = 0,
SESSION_TRACK_SCHEMA = 1,
SESSION_TRACK_STATE_CHANGE = 2,
SESSION_TRACK_GTIDS = 3,
SESSION_TRACK_TRANSACTION_CHARACTERISTICS = 4,
SESSION_TRACK_TRANSACTION_STATE = 5,
}
Expand description
Type of state change information that the server can include in the Ok packet.
@note
- session_state_type shouldn’t go past 255 (i.e. 1-byte boundary).
- Modify the definition of ::SESSION_TRACK_END when a new member is added.
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.
SESSION_TRACK_SYSTEM_VARIABLES = 0
< Session system variables
SESSION_TRACK_SCHEMA = 1
< Current schema
SESSION_TRACK_STATE_CHANGE = 2
< track session state changes
SESSION_TRACK_GTIDS = 3
< See also: session_track_gtids
SESSION_TRACK_TRANSACTION_CHARACTERISTICS = 4
< Transaction chistics
SESSION_TRACK_TRANSACTION_STATE = 5
< Transaction state
Trait Implementations§
Source§impl Clone for enum_session_state_type
impl Clone for enum_session_state_type
Source§fn clone(&self) -> enum_session_state_type
fn clone(&self) -> enum_session_state_type
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 enum_session_state_type
impl Debug for enum_session_state_type
Source§impl Hash for enum_session_state_type
impl Hash for enum_session_state_type
Source§impl PartialEq for enum_session_state_type
impl PartialEq for enum_session_state_type
impl Copy for enum_session_state_type
impl Eq for enum_session_state_type
impl StructuralPartialEq for enum_session_state_type
Auto Trait Implementations§
impl Freeze for enum_session_state_type
impl RefUnwindSafe for enum_session_state_type
impl Send for enum_session_state_type
impl Sync for enum_session_state_type
impl Unpin for enum_session_state_type
impl UnwindSafe for enum_session_state_type
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