Struct embedded_hal_mock::eh1::delay::NoopDelay
source · pub struct NoopDelay;
Available on crate feature
eh1
only.Expand description
A Delay
implementation that does not actually block.
Implementations§
Trait Implementations§
source§impl DelayNs for NoopDelay
impl DelayNs for NoopDelay
source§fn delay_ns(&mut self, _ns: u32)
fn delay_ns(&mut self, _ns: u32)
Pauses execution for at minimum
ns
nanoseconds. Pause can be longer
if the implementation requires it due to precision/timing issues.Auto Trait Implementations§
impl RefUnwindSafe for NoopDelay
impl Send for NoopDelay
impl Sync for NoopDelay
impl Unpin for NoopDelay
impl UnwindSafe for NoopDelay
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more