fn idle_timeout(idle: Duration) -> Result<VarInt, TransportProfileError>Expand description
Convert an idle timeout to the varint of milliseconds quinn stores.
The saturation matters only for the error message: a Duration whose
millisecond count does not fit a u64 is already unimaginably past the
varint ceiling, and reporting u64::MAX says so as well as the true
figure would while keeping the error’s value field a u64.