Trait drone_cortex_m::thread::PThreadToken
[−]
[src]
pub trait PThreadToken<T: Thread, U: ThreadNumber> { fn exec<F>(&self, f: F)
where
U: IrqNumber,
F: IntoFuture<Item = (), Error = !>,
F::Future: Send + 'static; }
Platform thread token extensions.
Required Methods
fn exec<F>(&self, f: F) where
U: IrqNumber,
F: IntoFuture<Item = (), Error = !>,
F::Future: Send + 'static,
U: IrqNumber,
F: IntoFuture<Item = (), Error = !>,
F::Future: Send + 'static,
Executes the future f
within the thread.