#[repr(u32)]
pub enum mysql_protocol_type {
MYSQL_PROTOCOL_DEFAULT,
MYSQL_PROTOCOL_TCP,
MYSQL_PROTOCOL_SOCKET,
MYSQL_PROTOCOL_PIPE,
MYSQL_PROTOCOL_MEMORY,
}
Variants§
MYSQL_PROTOCOL_DEFAULT
MYSQL_PROTOCOL_TCP
MYSQL_PROTOCOL_SOCKET
MYSQL_PROTOCOL_PIPE
MYSQL_PROTOCOL_MEMORY
Trait Implementations§
source§impl Clone for mysql_protocol_type
impl Clone for mysql_protocol_type
source§fn clone(&self) -> mysql_protocol_type
fn clone(&self) -> mysql_protocol_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 mysql_protocol_type
impl Debug for mysql_protocol_type
source§impl Hash for mysql_protocol_type
impl Hash for mysql_protocol_type
source§impl PartialEq<mysql_protocol_type> for mysql_protocol_type
impl PartialEq<mysql_protocol_type> for mysql_protocol_type
source§fn eq(&self, other: &mysql_protocol_type) -> bool
fn eq(&self, other: &mysql_protocol_type) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.