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]
impl TlsHandshakeTypepub const HelloRequest: TlsHandshakeType
HelloRequest: TlsHandshakeType = TlsHandshakeType(0)
pub const ClientHello: TlsHandshakeType
ClientHello: TlsHandshakeType = TlsHandshakeType(1)
pub const ServerHello: TlsHandshakeType
ServerHello: TlsHandshakeType = TlsHandshakeType(2)
pub const NewSessionTicket: TlsHandshakeType
NewSessionTicket: TlsHandshakeType = TlsHandshakeType(4)
pub const EndOfEarlyData: TlsHandshakeType
EndOfEarlyData: TlsHandshakeType = TlsHandshakeType(5)
pub const HelloRetryRequest: TlsHandshakeType
HelloRetryRequest: TlsHandshakeType = TlsHandshakeType(6)
pub const EncryptedExtensions: TlsHandshakeType
EncryptedExtensions: TlsHandshakeType = TlsHandshakeType(8)
pub const Certificate: TlsHandshakeType
Certificate: TlsHandshakeType = TlsHandshakeType(11)
pub const ServerKeyExchange: TlsHandshakeType
ServerKeyExchange: TlsHandshakeType = TlsHandshakeType(12)
pub const CertificateRequest: TlsHandshakeType
CertificateRequest: TlsHandshakeType = TlsHandshakeType(13)
pub const ServerDone: TlsHandshakeType
ServerDone: TlsHandshakeType = TlsHandshakeType(14)
pub const CertificateVerify: TlsHandshakeType
CertificateVerify: TlsHandshakeType = TlsHandshakeType(15)
pub const ClientKeyExchange: TlsHandshakeType
ClientKeyExchange: TlsHandshakeType = TlsHandshakeType(16)
pub const Finished: TlsHandshakeType
Finished: TlsHandshakeType = TlsHandshakeType(20)
pub const CertificateURL: TlsHandshakeType
CertificateURL: TlsHandshakeType = TlsHandshakeType(21)
pub const CertificateStatus: TlsHandshakeType
CertificateStatus: TlsHandshakeType = TlsHandshakeType(22)
pub const KeyUpdate: TlsHandshakeType
KeyUpdate: TlsHandshakeType = TlsHandshakeType(24)
pub const NextProtocol: TlsHandshakeType
NextProtocol: TlsHandshakeType = TlsHandshakeType(67)
Trait Implementations
impl Clone for TlsHandshakeType[src]
impl Clone for TlsHandshakeTypefn clone(&self) -> TlsHandshakeType[src]
fn clone(&self) -> TlsHandshakeTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for TlsHandshakeType[src]
impl Copy for TlsHandshakeTypeimpl PartialEq for TlsHandshakeType[src]
impl PartialEq for TlsHandshakeTypefn eq(&self, other: &TlsHandshakeType) -> bool[src]
fn eq(&self, other: &TlsHandshakeType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TlsHandshakeType) -> bool[src]
fn ne(&self, other: &TlsHandshakeType) -> boolThis method tests for !=.
impl Eq for TlsHandshakeType[src]
impl Eq for TlsHandshakeTypeimpl From<TlsHandshakeType> for u8[src]
impl From<TlsHandshakeType> for u8fn from(v: TlsHandshakeType) -> u8[src]
fn from(v: TlsHandshakeType) -> u8Performs the conversion.
Auto Trait Implementations
impl Send for TlsHandshakeType
impl Send for TlsHandshakeTypeimpl Sync for TlsHandshakeType
impl Sync for TlsHandshakeType