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]
impl<'a> SessionStateChange<'a>
pub fn into_owned(self) -> SessionStateChange<'static>
[src]
pub fn into_owned(self) -> SessionStateChange<'static>
Trait Implementations
impl<'a> Clone for SessionStateChange<'a>
[src]
impl<'a> Clone for SessionStateChange<'a>
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Eq for SessionStateChange<'a>
[src]
impl<'a> Eq for SessionStateChange<'a>
impl<'a> PartialEq for SessionStateChange<'a>
[src]
impl<'a> PartialEq for SessionStateChange<'a>
fn eq(&self, other: &SessionStateChange<'a>) -> bool
[src]
fn eq(&self, other: &SessionStateChange<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SessionStateChange<'a>) -> bool
[src]
fn ne(&self, other: &SessionStateChange<'a>) -> bool
This method tests for !=
.
impl<'a> Debug for SessionStateChange<'a>
[src]
impl<'a> Debug for SessionStateChange<'a>
Auto Trait Implementations
impl<'a> Send for SessionStateChange<'a>
impl<'a> Send for SessionStateChange<'a>
impl<'a> Sync for SessionStateChange<'a>
impl<'a> Sync for SessionStateChange<'a>