Struct mysql_common::packets::SessionStateInfo
[−]
[src]
pub struct SessionStateInfo<'a> { /* fields omitted */ }
Represents change in session state (part of MySql's Ok packet).
Methods
impl<'a> SessionStateInfo<'a>
[src]
pub fn parse(payload: &[u8]) -> Result<SessionStateInfo>
[src]
pub fn into_owned(self) -> SessionStateInfo<'static>
[src]
pub fn data_type(&self) -> SessionStateType
[src]
pub fn decode(&self) -> Result<SessionStateChange>
[src]
Trait Implementations
impl<'a> Clone for SessionStateInfo<'a>
[src]
fn clone(&self) -> SessionStateInfo<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Eq for SessionStateInfo<'a>
[src]
impl<'a> PartialEq for SessionStateInfo<'a>
[src]
fn eq(&self, __arg_0: &SessionStateInfo<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SessionStateInfo<'a>) -> bool
[src]
This method tests for !=
.