macro_rules! wrapped_payload {
($(#[$comment:meta])* $vis:vis struct $name:ident, $inner:ident$(<$inner_ty:ty>)?,) => { ... };
}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.