Settings
Help

Module check

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 πŸ”’