Struct tls_parser::tls::TlsHandshakeType[][src]

pub struct TlsHandshakeType(pub u8);

Handshake type

Handshake types are defined in RFC5246 and the IANA HandshakeType Registry

Methods

impl TlsHandshakeType
[src]

HelloRequest: TlsHandshakeType = TlsHandshakeType(0)

ClientHello: TlsHandshakeType = TlsHandshakeType(1)

ServerHello: TlsHandshakeType = TlsHandshakeType(2)

NewSessionTicket: TlsHandshakeType = TlsHandshakeType(4)

EndOfEarlyData: TlsHandshakeType = TlsHandshakeType(5)

HelloRetryRequest: TlsHandshakeType = TlsHandshakeType(6)

EncryptedExtensions: TlsHandshakeType = TlsHandshakeType(8)

Certificate: TlsHandshakeType = TlsHandshakeType(11)

ServerKeyExchange: TlsHandshakeType = TlsHandshakeType(12)

CertificateRequest: TlsHandshakeType = TlsHandshakeType(13)

ServerDone: TlsHandshakeType = TlsHandshakeType(14)

CertificateVerify: TlsHandshakeType = TlsHandshakeType(15)

ClientKeyExchange: TlsHandshakeType = TlsHandshakeType(16)

Finished: TlsHandshakeType = TlsHandshakeType(20)

CertificateURL: TlsHandshakeType = TlsHandshakeType(21)

CertificateStatus: TlsHandshakeType = TlsHandshakeType(22)

KeyUpdate: TlsHandshakeType = TlsHandshakeType(24)

NextProtocol: TlsHandshakeType = TlsHandshakeType(67)

Trait Implementations

impl Clone for TlsHandshakeType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TlsHandshakeType
[src]

impl PartialEq for TlsHandshakeType
[src]

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

This method tests for !=.

impl Eq for TlsHandshakeType
[src]

impl From<TlsHandshakeType> for u8
[src]

Performs the conversion.

Auto Trait Implementations