Struct thrussh::Preferred [−][src]
pub struct Preferred { pub kex: &'static [Name], pub key: &'static [Name], pub cipher: &'static [Name], pub mac: &'static [&'static str], pub compression: &'static [&'static str], }
Lists of preferred algorithms. This is normally hard-coded into implementations.
Fields
kex: &'static [Name]
Preferred key exchange algorithms.
key: &'static [Name]
Preferred public key algorithms.
cipher: &'static [Name]
Preferred symmetric ciphers.
mac: &'static [&'static str]
Preferred MAC algorithms.
compression: &'static [&'static str]
Preferred compression algorithms.
Trait Implementations
impl Debug for Preferred
[src]
impl Debug for Preferred
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Preferred
[src]
impl Default for Preferred