Enum shout::ShoutTLS
[−]
[src]
pub enum ShoutTLS { Disabled, Auto, AutoNoPlain, RFC2818, RFC2817, }
Type representing a TLS mode to connect to a host with
Variants
Disabled
Do not use TLS at all
Auto
Autodetect which TLS mode to use if any
AutoNoPlain
Like Auto, but does not allow plain connections
RFC2818
USE TLS for transport layer like HTTPS(RFC2818) does
RFC2817
USE TLS via HTTP Upgrade:-header (RFC2817)
Trait Implementations
impl Copy for ShoutTLS
[src]
impl Clone for ShoutTLS
[src]
fn clone(&self) -> ShoutTLS
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more