Settings
Help

Module dyn_time

Module dyn_time 

Source
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 or rustls) and (async-std or tokio)
if_preferred_runtime!{[ Y ] [ N ]} expands to Y (if there’s PreferredRuntime) or N
pub_impl_methods πŸ”’
Define ordinary methods in impl .. for DynTimeProvider
with_preferred_runtime πŸ”’
with_preferred_runtime!( R; EXPR ) expands to EXPR, or to match *R {}.

StructsΒ§

DynTimeProvider
Type-erased SleepProvider and CoarseTimeProvider

EnumsΒ§

Impl πŸ”’
Actual contents of a DynTimeProvider

TraitsΒ§

DynProvider πŸ”’
Object-safe version of SleepProvider and CoarseTimeProvider

FunctionsΒ§

downcast_value πŸ”’
Try to cast I (which is presumably a TAIT) to O (presumably a concrete type)

Type AliasesΒ§

DynSleepFuture πŸ”’
Convenience alias for a boxed sleep future