Struct retina_core::protocols::stream::ssh::SshKeyExchange
source · 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: bool
Trait Implementations§
source§impl Debug for SshKeyExchange
impl Debug for SshKeyExchange
source§impl PartialEq for SshKeyExchange
impl PartialEq for SshKeyExchange
source§fn eq(&self, other: &SshKeyExchange) -> bool
fn eq(&self, other: &SshKeyExchange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
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