Trait async_embedded_traits::delay::AsyncDelayMs[][src]

pub trait AsyncDelayMs<UXX> {
    type DelayFuture: Future<Output = ()>;
    fn async_delay_ms(&mut self, ms: UXX) -> Self::DelayFuture;

Millisecond delay

UXX denotes the range type of the delay time. UXX can be u8, u16, etc. A single type can implement this trait for different types of UXX.

Associated Types

type DelayFuture: Future<Output = ()>[src]

Delay future for polling on completion

Loading content...

Required methods

fn async_delay_ms(&mut self, ms: UXX) -> Self::DelayFuture[src]

Pauses execution for ms milliseconds

Loading content...


Loading content...