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 moreAuto Trait Implementations§
impl RefUnwindSafe for CertificateAuthority
impl Send for CertificateAuthority
impl Sync for CertificateAuthority
impl Unpin for CertificateAuthority
impl UnwindSafe for CertificateAuthority
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