Module check

Source

Macrosยง

require_handshake_msg ๐Ÿ”’
For a Message $m, and a HandshakePayload enum member $payload_type, return Ok(payload) if $m is both a handshake message and one that has the given $payload_type. If not, return Err(rustls::Error) quoting $handshake_type as the expected handshake type.
require_handshake_msg_move ๐Ÿ”’
Like require_handshake_msg, but moves the payload out of $m.

Functionsยง

inappropriate_handshake_message ๐Ÿ”’
inappropriate_message ๐Ÿ”’