#[repr(u8)]pub enum SessionStateType {
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 (part of MySql’s Ok packet).
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 characteristics.
SESSION_TRACK_TRANSACTION_STATE = 5
Transaction state.
Trait Implementations§
Source§impl Clone for SessionStateType
impl Clone for SessionStateType
Source§fn clone(&self) -> SessionStateType
fn clone(&self) -> SessionStateType
Returns a duplicate 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 SessionStateType
impl Debug for SessionStateType
Source§impl PartialEq for SessionStateType
impl PartialEq for SessionStateType
Source§impl TryFrom<u8> for SessionStateType
impl TryFrom<u8> for SessionStateType
Source§type Error = UnknownSessionStateType
type Error = UnknownSessionStateType
The type returned in the event of a conversion error.
Source§fn try_from(
value: u8,
) -> Result<SessionStateType, <SessionStateType as TryFrom<u8>>::Error>
fn try_from( value: u8, ) -> Result<SessionStateType, <SessionStateType as TryFrom<u8>>::Error>
Performs the conversion.
impl Copy for SessionStateType
impl Eq for SessionStateType
impl StructuralPartialEq for SessionStateType
Auto Trait Implementations§
impl Freeze for SessionStateType
impl RefUnwindSafe for SessionStateType
impl Send for SessionStateType
impl Sync for SessionStateType
impl Unpin for SessionStateType
impl UnwindSafe for SessionStateType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.