pub trait TimeSource {
// Required methods
fn mode(&self, at: &Zoned) -> Mode;
fn starts(&self, from: &Zoned, until: &Zoned) -> Vec<Zoned>;
}Expand description
What time it is at any moment (reach::Clock, through Live): sleep, a
pause, free time, the hours, as they stand now.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".