Enum hdbconnect_impl::ServerCerts
source · pub enum ServerCerts {
Directory(String),
Environment(String),
Direct(String),
RootCertificates,
}Expand description
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.
Trait Implementations§
source§impl Clone for ServerCerts
impl Clone for ServerCerts
source§fn clone(&self) -> ServerCerts
fn clone(&self) -> ServerCerts
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 ServerCerts
impl Debug for ServerCerts
source§impl<'de> Deserialize<'de> for ServerCerts
impl<'de> Deserialize<'de> for ServerCerts
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 PartialEq for ServerCerts
impl PartialEq for ServerCerts
source§fn eq(&self, other: &ServerCerts) -> bool
fn eq(&self, other: &ServerCerts) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ServerCerts
impl Serialize for ServerCerts
impl Eq for ServerCerts
impl StructuralEq for ServerCerts
impl StructuralPartialEq for ServerCerts
Auto Trait Implementations§
impl RefUnwindSafe for ServerCerts
impl Send for ServerCerts
impl Sync for ServerCerts
impl Unpin for ServerCerts
impl UnwindSafe for ServerCerts
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