Macro rustls::msgs::handshake::wrapped_payload
source · macro_rules! wrapped_payload { ($(#[$comment:meta])* $name:ident, $inner:ident,) => { ... }; }
Expand description
Create a newtype wrapper around a given type.
This is used to create newtypes for the various TLS message types which is used to wrap
the PayloadU8
or PayloadU16
types. This is typically used for types where we don’t need
anything other than access to the underlying bytes.