Struct ore::now::NowFn [−][src]
pub struct NowFn(Arc<dyn Fn() -> EpochMillis + Send + Sync>);
Expand description
A function that returns system or mocked time.
Tuple Fields
0: Arc<dyn Fn() -> EpochMillis + Send + Sync>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for NowFn
impl !UnwindSafe for NowFn
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more