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]
impl<'a> Clone for TlsMessage<'a>fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a> Debug for TlsMessage<'a>[src]
impl<'a> Debug for TlsMessage<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> PartialEq for TlsMessage<'a>[src]
impl<'a> PartialEq for TlsMessage<'a>fn eq(&self, other: &TlsMessage<'a>) -> bool[src]
fn eq(&self, other: &TlsMessage<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &TlsMessage<'a>) -> bool[src]
fn ne(&self, other: &TlsMessage<'a>) -> boolThis method tests for !=.
Auto Trait Implementations
impl<'a> Send for TlsMessage<'a>
impl<'a> Send for TlsMessage<'a>impl<'a> Sync for TlsMessage<'a>
impl<'a> Sync for TlsMessage<'a>