Struct ssh_parser::ssh::SshVersion
[−]
[src]
pub struct SshVersion<'a> { pub proto: &'a [u8], pub software: &'a [u8], pub comments: Option<&'a [u8]>, }
SSH Protocol Version Exchange
Defined in RFC4253 section 4.2.
Unparsed proto and software fields must contain US-ASCII printable characters only (without space and minus sign). There is no constraint on the comment field except it must not contain the null byte.
Fields
proto: &'a [u8]
software: &'a [u8]
comments: Option<&'a [u8]>
Trait Implementations
impl<'a> Debug for SshVersion<'a>
[src]
impl<'a> PartialEq for SshVersion<'a>
[src]
fn eq(&self, __arg_0: &SshVersion<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SshVersion<'a>) -> bool
This method tests for !=
.