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

Trait Implementations

impl<'a> Debug for SshVersion<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for SshVersion<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.