pub fn to_bytes_for_signature<B, T: ?Sized>(
) -> Result<Vec<u8>> where
T that has the given signature, to a new byte vector.
This function will panic if the value to serialize contains file descriptors. Use
to_bytes_fds_for_signature if you'd want to potentially pass FDs.