pub trait Environment: Sync {
// Required methods
fn now_ms(&self) -> u64;
fn new_epoch(&self) -> String;
}Expand description
Where the helper reads the time and draws new epochs.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".