[][src]Trait freertos_rs::patterns::compute_task::ComputeTaskBuilder

pub trait ComputeTaskBuilder {
    fn compute<F, R>(&self, func: F) -> Result<ComputeTask<R>, FreeRtosError>
    where
        F: FnOnce() -> R,
        F: Send + 'static,
        R: Sync + Send + 'static
; }

Required methods

fn compute<F, R>(&self, func: F) -> Result<ComputeTask<R>, FreeRtosError> where
    F: FnOnce() -> R,
    F: Send + 'static,
    R: Sync + Send + 'static, 

Loading content...

Implementors

impl ComputeTaskBuilder for TaskBuilder[src]

Loading content...