Struct libtls::Protocols
[−]
[src]
pub struct Protocols(_);
A list of enabled TLS protocols. Pass this to Config::set_protocols
Methods
impl Protocols
[src]
fn from_str(protocols: &str) -> Result<Protocols, ()>
Construct a protocols list from a textual list, like a config file would use.
fn secure() -> Protocols
Construct a secure default list of protocols.
fn all() -> Protocols
Construct a backwards-compatible default list of protocols.
fn legacy() -> Protocols
Construct a backwards-compatible default list of protocols.
Trait Implementations
impl Debug for Protocols
[src]
impl Clone for Protocols
[src]
fn clone(&self) -> Protocols
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