pub enum TlsVerification {
SystemDefaults,
CustomCa(PathBuf),
DangerAcceptInvalid,
}Expand description
TLS verification strategy.
Variants§
SystemDefaults
System CA store (strict).
CustomCa(PathBuf)
Custom CA certificate file.
DangerAcceptInvalid
Skip verification (self-signed certs). Default for local controllers.
Trait Implementations§
Source§impl Clone for TlsVerification
impl Clone for TlsVerification
Source§fn clone(&self) -> TlsVerification
fn clone(&self) -> TlsVerification
Returns a duplicate 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 TlsVerification
impl Debug for TlsVerification
Source§impl Default for TlsVerification
impl Default for TlsVerification
Source§fn default() -> TlsVerification
fn default() -> TlsVerification
Returns the “default value” for a type. Read more
Source§impl PartialEq for TlsVerification
impl PartialEq for TlsVerification
impl Eq for TlsVerification
Auto Trait Implementations§
impl Freeze for TlsVerification
impl RefUnwindSafe for TlsVerification
impl Send for TlsVerification
impl Sync for TlsVerification
impl Unpin for TlsVerification
impl UnsafeUnpin for TlsVerification
impl UnwindSafe for TlsVerification
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