Enum mysql_common::packets::SessionStateChange
[−]
[src]
pub enum SessionStateChange<'a> { IsTracked(bool), Schema(Cow<'a, [u8]>), SystemVariable(Cow<'a, [u8]>, Cow<'a, [u8]>), UnknownLayout(Cow<'a, [u8]>), }
Represents parsed change in session state (part of MySql's Ok packet).
Variants
IsTracked(bool)
Schema(Cow<'a, [u8]>)
SystemVariable(Cow<'a, [u8]>, Cow<'a, [u8]>)
UnknownLayout(Cow<'a, [u8]>)
Methods
impl<'a> SessionStateChange<'a>
[src]
fn into_owned(self) -> SessionStateChange<'static>
Trait Implementations
impl<'a> Clone for SessionStateChange<'a>
[src]
fn clone(&self) -> SessionStateChange<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Eq for SessionStateChange<'a>
[src]
impl<'a> PartialEq for SessionStateChange<'a>
[src]
fn eq(&self, __arg_0: &SessionStateChange<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SessionStateChange<'a>) -> bool
This method tests for !=
.