[][src]Struct freertos_rs::TaskDelay

pub struct TaskDelay { /* fields omitted */ }

Delay the current task by the given duration, minus the time that was spent processing the last wakeup loop.

Methods

impl TaskDelay[src]

pub fn new() -> TaskDelay[src]

Create a new helper, marking the current time as the start of the next measurement.

pub fn delay_until<D: DurationTicks>(&mut self, delay: D)[src]

Delay the execution of the current task by the given duration, minus the time spent in this task since the last delay.

Auto Trait Implementations

impl Send for TaskDelay

impl Sync for TaskDelay

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]