Available on crate feature
eh0 only.Expand description
Delay mock implementations.
§Usage
If the actual sleep duration is not important, simply create a
NoopDelay instance. There will be no actual
delay. This is useful for fast tests, where you don’t actually need to wait
for the hardware.
If you do want the real delay behavior, use
StdSleep which uses
std::thread::sleep
to implement the delay.