[−][src]Trait freertos_rust::patterns::compute_task::ComputeTaskBuilder
Required methods
fn compute<F, R>(&self, func: F) -> Result<ComputeTask<R>, FreeRtosError> where
F: FnOnce() -> R,
F: Send + 'static,
R: Sync + Send + 'static,
F: FnOnce() -> R,
F: Send + 'static,
R: Sync + Send + 'static,
Implementors
impl ComputeTaskBuilder for TaskBuilder[src]
fn compute<F, R>(&self, func: F) -> Result<ComputeTask<R>, FreeRtosError> where
F: FnOnce() -> R,
F: Send + 'static,
R: Sync + Send + 'static, [src]
F: FnOnce() -> R,
F: Send + 'static,
R: Sync + Send + 'static,