pub trait SimpleTimer {
type Context;
// Required method
fn timeout(self, scope: &mut Scope<'_, Self::Context>) -> Self;
}Expand description
The timer trait used in the Ticker<Interval<T>>
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".