pub enum DialectNegotiation {
Fixed,
Negotiated,
}Expand description
How the dialect was selected for a connection.
Variants§
Fixed
Fixed by connector configuration / profile.
Negotiated
Negotiated during open/handshake and then frozen.
Trait Implementations§
Source§impl Clone for DialectNegotiation
impl Clone for DialectNegotiation
Source§fn clone(&self) -> DialectNegotiation
fn clone(&self) -> DialectNegotiation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DialectNegotiation
Source§impl Debug for DialectNegotiation
impl Debug for DialectNegotiation
Source§impl<'de> Deserialize<'de> for DialectNegotiation
impl<'de> Deserialize<'de> for DialectNegotiation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DialectNegotiation
Source§impl PartialEq for DialectNegotiation
impl PartialEq for DialectNegotiation
Source§impl Serialize for DialectNegotiation
impl Serialize for DialectNegotiation
impl StructuralPartialEq for DialectNegotiation
Auto Trait Implementations§
impl Freeze for DialectNegotiation
impl RefUnwindSafe for DialectNegotiation
impl Send for DialectNegotiation
impl Sync for DialectNegotiation
impl Unpin for DialectNegotiation
impl UnsafeUnpin for DialectNegotiation
impl UnwindSafe for DialectNegotiation
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