pub trait TimeTrait: Copy {
// Required methods
fn now() -> Self;
fn sub(&self, other: &Self) -> f64;
fn supports_sleep() -> bool;
fn sleep(seconds: f64);
}
pub trait TimeTrait: Copy {
// Required methods
fn now() -> Self;
fn sub(&self, other: &Self) -> f64;
fn supports_sleep() -> bool;
fn sleep(seconds: f64);
}