pub enum TlsCert {
System,
SystemPlus(Vec<CertificateDer<'static>>),
Webpki,
WebpkiPlus(Vec<CertificateDer<'static>>),
Custom(Vec<CertificateDer<'static>>),
}Variants§
System
Use the system’s default certificate.
SystemPlus(Vec<CertificateDer<'static>>)
Use the system’s default certificate and a set of custom root certificates.
Webpki
Use the webpki-roots default certificate.
WebpkiPlus(Vec<CertificateDer<'static>>)
Use the webpki-roots default certificate and a set of custom root certificates.
Custom(Vec<CertificateDer<'static>>)
Use a custom root certificate only.
Trait Implementations§
impl Eq for TlsCert
impl StructuralPartialEq for TlsCert
Auto Trait Implementations§
impl Freeze for TlsCert
impl RefUnwindSafe for TlsCert
impl Send for TlsCert
impl Sync for TlsCert
impl Unpin for TlsCert
impl UnwindSafe for TlsCert
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