Enum tls_parser::tls::TlsMessage
[−]
[src]
pub enum TlsMessage<'a> {
Handshake(TlsMessageHandshake<'a>),
ChangeCipherSpec,
Alert(TlsMessageAlert),
ApplicationData(TlsMessageApplicationData<'a>),
Heartbeat(TlsMessageHeartbeat<'a>),
}TLS plaintext message
Plaintext records can only be found during the handshake.
Variants
Handshake(TlsMessageHandshake<'a>)ChangeCipherSpecAlert(TlsMessageAlert)ApplicationData(TlsMessageApplicationData<'a>)Heartbeat(TlsMessageHeartbeat<'a>)Trait Implementations
impl<'a> Clone for TlsMessage<'a>[src]
fn clone(&self) -> TlsMessage<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<'a> Debug for TlsMessage<'a>[src]
impl<'a> PartialEq for TlsMessage<'a>[src]
fn eq(&self, __arg_0: &TlsMessage<'a>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TlsMessage<'a>) -> bool
This method tests for !=.