Struct libtls::Ciphers
[−]
[src]
pub struct Ciphers(_);
A list of enabled encryption algorithms.
Methods
impl Ciphers
[src]
fn from_str(ciphers: &str) -> Result<Ciphers, NulError>
Construct a cipher list from a textual list, like a config file would use.
fn secure() -> Ciphers
Construct a secure default list of ciphers.
fn compat() -> Ciphers
Construct a backwards-compatible default list of ciphers.
fn legacy() -> Ciphers
Construct a backwards-compatible default list of ciphers.
Trait Implementations
impl Debug for Ciphers
[src]
impl Clone for Ciphers
[src]
fn clone(&self) -> Ciphers
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