Enum tls_parser::TlsMessage [−][src]
pub enum TlsMessage<'a> {
Handshake(TlsMessageHandshake<'a>),
ChangeCipherSpec,
Alert(TlsMessageAlert),
ApplicationData(TlsMessageApplicationData<'a>),
Heartbeat(TlsMessageHeartbeat<'a>),
}
Expand description
TLS plaintext message
Plaintext records can only be found during the handshake.
Variants
Handshake(TlsMessageHandshake<'a>)
Tuple Fields of Handshake
0: TlsMessageHandshake<'a>
Alert(TlsMessageAlert)
Tuple Fields of Alert
ApplicationData(TlsMessageApplicationData<'a>)
Tuple Fields of ApplicationData
0: TlsMessageApplicationData<'a>
Heartbeat(TlsMessageHeartbeat<'a>)
Tuple Fields of Heartbeat
0: TlsMessageHeartbeat<'a>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for TlsMessage<'a>
impl<'a> Send for TlsMessage<'a>
impl<'a> Sync for TlsMessage<'a>
impl<'a> Unpin for TlsMessage<'a>
impl<'a> UnwindSafe for TlsMessage<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more