#[repr(u32)]pub enum mysql_protocol_type {
MYSQL_PROTOCOL_DEFAULT = 0,
MYSQL_PROTOCOL_TCP = 1,
MYSQL_PROTOCOL_SOCKET = 2,
MYSQL_PROTOCOL_PIPE = 3,
MYSQL_PROTOCOL_MEMORY = 4,
}
Variants§
MYSQL_PROTOCOL_DEFAULT = 0
MYSQL_PROTOCOL_TCP = 1
MYSQL_PROTOCOL_SOCKET = 2
MYSQL_PROTOCOL_PIPE = 3
MYSQL_PROTOCOL_MEMORY = 4
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 for mysql_protocol_type
impl PartialEq 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 ==
.impl Copy for mysql_protocol_type
impl Eq for mysql_protocol_type
impl StructuralPartialEq for mysql_protocol_type
Auto Trait Implementations§
impl Freeze for mysql_protocol_type
impl RefUnwindSafe for mysql_protocol_type
impl Send for mysql_protocol_type
impl Sync for mysql_protocol_type
impl Unpin for mysql_protocol_type
impl UnwindSafe for mysql_protocol_type
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