Macrosยง
- 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.
- Like require_handshake_msg, but moves the payload out of $m.