fn varint(
field: &'static str,
value: u64,
) -> Result<VarInt, TransportProfileError>Expand description
Convert to a QUIC varint, naming the field if it does not fit.
The single place the u64-to-VarInt conversion happens, so
TransportProfile::validate and TransportProfile::apply_to cannot
disagree about which values are acceptable.