pub trait Sleep: Send + Sync + Future<Output = ()> { }
Expand description
A future returned by a Timer
.
This is a re-implementation of downcast methods from std::any::Any
Check whether the type is the same as T
Downcast a pinned &mut Sleep object to its original type