Struct tls_parser::tls::TlsHeartbeatMessageType[][src]

pub struct TlsHeartbeatMessageType(pub u8);

Heartbeat type, as defined in RFC6520 section 3

Methods

impl TlsHeartbeatMessageType
[src]

HeartBeatRequest: TlsHeartbeatMessageType = TlsHeartbeatMessageType(1)

HeartBeatResponse: TlsHeartbeatMessageType = TlsHeartbeatMessageType(2)

Trait Implementations

impl Clone for TlsHeartbeatMessageType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TlsHeartbeatMessageType
[src]

impl PartialEq for TlsHeartbeatMessageType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TlsHeartbeatMessageType
[src]

impl From<TlsHeartbeatMessageType> for u8
[src]

Performs the conversion.

impl Display for TlsHeartbeatMessageType
[src]

Formats the value using the given formatter. Read more

impl Debug for TlsHeartbeatMessageType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations