pub enum Tls {
Disabled,
Enabled(CertificateAuthority),
}
Expand description
Options for full-connection encryption via TLS.
Variants§
Disabled
No TLS encryption.
Enabled(CertificateAuthority)
Use TLS encryption, verifying the server’s certificate.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Tls
impl Send for Tls
impl Sync for Tls
impl Unpin for Tls
impl UnwindSafe for Tls
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