pub struct StdSleep;
A Delay implementation that uses std::thread::sleep.
Delay
std::thread::sleep
Create a new StdSleep instance.
StdSleep
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U