#[non_exhaustive]#[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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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
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