Trait drone_cortexm::thr::FutureRootExt[][src]

pub trait FutureRootExt: Future {
    fn root_wait(self) -> Self::Output;
}

An extension trait for Future that provides root_wait method.

Required methods

fn root_wait(self) -> Self::Output[src]

Runs a future to completion on the lowest priority thread.

This method will block the caller until the given future has completed.

WARNING This method will block currently preempted threads. It is recommended to use this method only on the lowest priority thread.

Loading content...

Implementors

impl<T: Future> FutureRootExt for T[src]

Loading content...