Macros§
- Repeatedly evaluates
condition
until it returnstrue
. Returns()
. - Repeatedly evaluates
condition
to create aFuture
, and then awaits theFuture
. Returns()
when the (most recently created)Future
resolves totrue
. - A reimplementation of the above, which deals better with borrows.
- Repeatedly evaluates
condition
until it returnsSome(v)
. Returnsv
. - Repeatedly evaluates an async
condition
until it returnsSome(v)
. Returnsv
. Use if your condition is an async fn.
Structs§
- A wrapper around a
FakeClockControlProxy
that also allows a client to read the current fake time. - A reference to a timekeeper running inside a nested environment which runs fake versions of the services timekeeper requires.
- A
PushSource
that allows a single client and can be controlled by a test. - Remote RTC updates - peek into the life of the RTC on the other side of a RTC connection.
- The list of RTC update requests received by a
NestedTimekeeper
.
Enums§
- The RTC configuration options.
Constants§
- Time between each reported sample.
- Wait duration for polling.
- The standard deviation to report on valid time samples.
Functions§
- Create a stream of MetricEvents from a proxy.
- Create a new clock with backstop time set to
BACKSTOP_TIME
. - Create a new clock with backstop time set to
BACKSTOP_TIME
. - Use
poll_until_async!()
instead. - Use
poll_until!()
instead. - Use
poll_until_some!()
instead.