Crate diem_time_service

Source
Expand description

Abstract time service

Re-exports§

pub use crate::real::RealTimeService;

Modules§

real

Enums§

TimeService
TimeService abstracts all time-related operations in one place that can be easily mocked-out and controlled in tests or delegated to the actual underlying runtime (usually tokio). It’s provided as an enum so we don’t have to infect everything with a generic tag.

Traits§

TimeServiceTrait