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

Executes the future f within the thread.

Implementations on Foreign Types

impl<T: Thread, U: ThreadNumber> PThreadToken<T, U> for ThreadToken<T, U>
[src]

[src]

Implementors