[−][src]Module embedded_hal_mock::delay
Delay mock implementations.
Usage
If the actual sleep duration is not important, simply create a
MockNoop
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.
Structs
MockNoop | A |
StdSleep | A |