Enum questdb::ingress::CertificateAuthority
source · pub enum CertificateAuthority {
WebpkiRoots,
File(PathBuf),
}
Expand description
Root used to determine how to validate the server’s TLS certificate.
Used when configuring the tls
option.
Variants§
WebpkiRoots
Use the root certificates provided by the
webpki-roots
crate.
File(PathBuf)
Use the root certificates provided by a PEM-encoded file.
Trait Implementations§
source§impl Clone for CertificateAuthority
impl Clone for CertificateAuthority
source§fn clone(&self) -> CertificateAuthority
fn clone(&self) -> CertificateAuthority
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 more