pub struct SshKeyExchange {
pub cookie: Vec<u8>,
pub kex_algs: Vec<String>,
pub server_host_key_algs: Vec<String>,
pub encryption_algs_client_to_server: Vec<String>,
pub encryption_algs_server_to_client: Vec<String>,
pub mac_algs_client_to_server: Vec<String>,
pub mac_algs_server_to_client: Vec<String>,
pub compression_algs_client_to_server: Vec<String>,
pub compression_algs_server_to_client: Vec<String>,
pub languages_client_to_server: Vec<String>,
pub languages_server_to_client: Vec<String>,
pub first_kex_packet_follows: bool,
}Expand description
A parsed SSH Key Exchange message.
Fields§
§kex_algs: Vec<String>§server_host_key_algs: Vec<String>§encryption_algs_client_to_server: Vec<String>§encryption_algs_server_to_client: Vec<String>§mac_algs_client_to_server: Vec<String>§mac_algs_server_to_client: Vec<String>§compression_algs_client_to_server: Vec<String>§compression_algs_server_to_client: Vec<String>§languages_client_to_server: Vec<String>§languages_server_to_client: Vec<String>§first_kex_packet_follows: boolTrait Implementations§
Source§impl Debug for SshKeyExchange
impl Debug for SshKeyExchange
Source§impl PartialEq for SshKeyExchange
impl PartialEq for SshKeyExchange
Source§impl Serialize for SshKeyExchange
impl Serialize for SshKeyExchange
impl StructuralPartialEq for SshKeyExchange
Auto Trait Implementations§
impl Freeze for SshKeyExchange
impl RefUnwindSafe for SshKeyExchange
impl Send for SshKeyExchange
impl Sync for SshKeyExchange
impl Unpin for SshKeyExchange
impl UnwindSafe for SshKeyExchange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more