Enum shout::ShoutTLS [] [src]

pub enum ShoutTLS {
    Disabled,
    Auto,
    AutoNoPlain,
    RFC2818,
    RFC2817,
}

Type representing a TLS mode to connect to a host with

Variants

Do not use TLS at all

Autodetect which TLS mode to use if any

Like Auto, but does not allow plain connections

USE TLS for transport layer like HTTPS(RFC2818) does

USE TLS via HTTP Upgrade:-header (RFC2817)

Trait Implementations

impl Copy for ShoutTLS
[src]

impl Clone for ShoutTLS
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ShoutTLS
[src]

Formats the value using the given formatter.