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 ( native-tls
orrustls
) and (async-std
ortokio
) 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
SleepProvider
andCoarseTimeProvider
EnumsΒ§
- Impl π
- Actual contents of a
DynTimeProvider
TraitsΒ§
- DynProvider π
- Object-safe version of
SleepProvider
andCoarseTimeProvider
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