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.Source§impl DelayNs for NoopDelay
Available on crate feature embedded-hal-async
only.
impl DelayNs for NoopDelay
Available on crate feature
embedded-hal-async
only.Source§async fn delay_ns(&mut self, _ns: u32)
async 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 Freeze for NoopDelay
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