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] key: &'static [Name] cipher: &'static [Name] mac: &'static [&'static str] compression: &'static [&'static str]

Trait Implementations

impl Debug for Preferred
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Preferred
[src]

fn default() -> Preferred

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