Trait embassy_traits::delay::Delay[][src]

pub trait Delay {
    type DelayFuture: Future<Output = ()> + 'a;
    fn delay_ms<'a>(&'a mut self, millis: u64) -> Self::DelayFuture;
fn delay_us<'a>(&'a mut self, micros: u64) -> Self::DelayFuture; }

Associated Types

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

Loading content...

Required methods

fn delay_ms<'a>(&'a mut self, millis: u64) -> Self::DelayFuture[src]

Future that completes after now + millis

fn delay_us<'a>(&'a mut self, micros: u64) -> Self::DelayFuture[src]

Future that completes after now + micros

Loading content...

Implementors

Loading content...