pub fn deadline_after(timeout: Option<i64>) -> Option<MonotonicInstant>
Expand description
This module exists to abstract away the differences between the dev host and target versions
of fuchsia_async::MonotonicDuration
.
In particular, on development hosts fuchsia_async::{MonotonicDuration, MonotonicInstant}
are actually
std::time::{Duration, Instant}
.
Provides a deadline after timeout
nanoseconds that a fuchsia_async::Timer
can wait until.