pub fn wait_timeout(timeout: Duration) -> Option<u64>Available on crate feature
waiter only.Expand description
Like wait, but blocks for at most timeout.
Returns Some(new_index) if the moved-index advances within the
timeout, or None if the timeout expired.
Available only when the waiter feature is enabled.