Expand description
type-erased time provider
MacrosΒ§
- dyn_
impl_ πmethods - Define ordinary methods in
impl DynProvider - if_
preferred_ πruntime - See the other implementation
- if_
preferred_ πruntime if_preferred_runtime!{[ Y ] [ N ]}expands toY(if thereβsPreferredRuntime) orN- pub_
impl_ πmethods - Define ordinary methods in
impl .. for DynTimeProvider - with_
preferred_ πruntime with_preferred_runtime!( R; EXPR )expands toEXPR, or tomatch *R {}.
StructsΒ§
- DynTime
Provider - Type-erased
SleepProviderandCoarseTimeProvider
EnumsΒ§
- Impl π
- Actual contents of a
DynTimeProvider
TraitsΒ§
- DynProvider π
- Object-safe version of
SleepProviderandCoarseTimeProvider
FunctionsΒ§
- downcast_
value π - Try to cast
I(which is presumably a TAIT) toO(presumably a concrete type)
Type AliasesΒ§
- DynSleep
Future π - Convenience alias for a boxed sleep future