Struct libtls::Protocols [] [src]

pub struct Protocols(_);

A list of enabled TLS protocols. Pass this to Config::set_protocols

Methods

impl Protocols
[src]

Construct a protocols list from a textual list, like a config file would use.

Construct a secure default list of protocols.

Construct a backwards-compatible default list of protocols.

Construct a backwards-compatible default list of protocols.

Trait Implementations

impl Debug for Protocols
[src]

Formats the value using the given formatter.

impl Clone for Protocols
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Protocols
[src]

Returns the "default value" for a type. Read more