pub trait TimerRefFactory {
// Required method
fn timer_ref(&self) -> TimerRef;
// Provided method
fn now(&self) -> Instant { ... }
}Expand description
A factory trait to produce instances of TimerRef
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".