Struct tls_parser::tls::TlsMessageHeartbeat[][src]

pub struct TlsMessageHeartbeat<'a> {
    pub heartbeat_type: TlsHeartbeatMessageType,
    pub payload_len: u16,
    pub payload: &'a [u8],
}

TLS heartbeat message, as defined in RFC6520

Heartbeat messages should not be sent during handshake, but in practise they can (and this caused heartbleed).

Fields

Trait Implementations

impl<'a> Clone for TlsMessageHeartbeat<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for TlsMessageHeartbeat<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for TlsMessageHeartbeat<'a>
[src]

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> Send for TlsMessageHeartbeat<'a>

impl<'a> Sync for TlsMessageHeartbeat<'a>