Trait freertos_rs::ComputeTaskBuilder
[−]
[src]
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,
F: FnOnce() -> R,
F: Send + 'static,
R: Sync + Send + 'static,
Implementors
impl ComputeTaskBuilder for TaskBuilder