Enum worker::SecureTransport
source · pub enum SecureTransport {
Off,
On,
StartTls,
}
Expand description
Secure transport options for outbound TCP connections.
Variants§
Off
Do not use TLS.
On
Use TLS.
StartTls
Do not use TLS initially, but allow the socket to be upgraded to
use TLS by calling Socket.start_tls
.
Auto Trait Implementations§
impl Freeze for SecureTransport
impl RefUnwindSafe for SecureTransport
impl Send for SecureTransport
impl Sync for SecureTransport
impl Unpin for SecureTransport
impl UnwindSafe for SecureTransport
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