[][src]Enum hdbconnect::ServerCerts

pub enum ServerCerts {
    Directory(String),
    Environment(String),
    Direct(String),
    RootCertificates,
    None,
}

Expresses where Certificates for TLS are read from.

Variants

Directory(String)

Server Certificates are read from files in the specified folder.

Environment(String)

Server Certificates are read from the specified environment variable.

Direct(String)

The Server Certificate is given directly.

RootCertificates

Defines that the server roots from https://mkcert.org/ should be added to the trust store for TLS.

None

Defines that the server's identity is not validated. Don't use this option in productive setups!

Trait Implementations

impl Clone for ServerCerts[src]

impl Debug for ServerCerts[src]

impl<'de> Deserialize<'de> for ServerCerts[src]

impl PartialEq<ServerCerts> for ServerCerts[src]

impl Serialize for ServerCerts[src]

impl StructuralPartialEq for ServerCerts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,