Function deadline_after
pub fn deadline_after<I>(start: I, timeout: Duration) -> Iwhere
I: MonotonicInstant,Available on crate feature
std only.Expand description
start + timeout, shortened only when the platform cannot represent it.
An unrepresentable deadline saturates to a far future instant, never to
start, and this function never panics.