Enum sqlx_exasol::ProtocolVersion 
source · #[repr(u8)]pub enum ProtocolVersion {
    V1 = 1,
    V2 = 2,
    V3 = 3,
}Expand description
Enum listing the protocol versions that can be used when establishing a websocket connection to Exasol. Defaults to the highest defined protocol version and falls back to the highest protocol version supported by the server.
Variants§
Trait Implementations§
source§impl Clone for ProtocolVersion
 
impl Clone for ProtocolVersion
source§fn clone(&self) -> ProtocolVersion
 
fn clone(&self) -> ProtocolVersion
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 ProtocolVersion
 
impl Debug for ProtocolVersion
source§impl<'de> Deserialize<'de> for ProtocolVersion
 
impl<'de> Deserialize<'de> for ProtocolVersion
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
source§impl Display for ProtocolVersion
 
impl Display for ProtocolVersion
source§impl FromStr for ProtocolVersion
 
impl FromStr for ProtocolVersion
source§impl PartialEq for ProtocolVersion
 
impl PartialEq for ProtocolVersion
source§fn eq(&self, other: &ProtocolVersion) -> bool
 
fn eq(&self, other: &ProtocolVersion) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ProtocolVersion
 
impl Serialize for ProtocolVersion
source§impl TryFrom<u8> for ProtocolVersion
 
impl TryFrom<u8> for ProtocolVersion
impl Copy for ProtocolVersion
impl Eq for ProtocolVersion
impl StructuralPartialEq for ProtocolVersion
Auto Trait Implementations§
impl Freeze for ProtocolVersion
impl RefUnwindSafe for ProtocolVersion
impl Send for ProtocolVersion
impl Sync for ProtocolVersion
impl Unpin for ProtocolVersion
impl UnwindSafe for ProtocolVersion
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
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.