pub trait SpendClock: Send + Sync {
// Required method
fn now_ms(&self) -> i64;
}Expand description
The time the journal reads to choose a period. Injected, so tests can cross a month boundary.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".