Trait maelstrom_util::time::Clock
source · pub trait Clock {
type Instant<'a>: ClockInstant
where Self: 'a;
// Required method
fn now(&self) -> Self::Instant<'_>;
}
Required Associated Types§
type Instant<'a>: ClockInstant where Self: 'a
Required Methods§
Object Safety§
This trait is not object safe.