Struct thrussh::KexInit [] [src]

pub struct KexInit {
    pub algo: Option<Names>,
    pub exchange: Exchange,
    pub session_id: Option<Digest>,
    pub sent: bool,
}

Fields

algo: Option<Names> exchange: Exchange session_id: Option<Digest> sent: bool

Methods

impl KexInit
[src]

fn kexinit(self) -> Result<KexError>

fn rekey(ex: Exchange, algo: Names, session_id: &Digest) -> Self

Trait Implementations

impl Debug for KexInit
[src]

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

Formats the value using the given formatter.