task: require Tasks to have Send

This commit is contained in:
Victoria Fischer 2024-12-01 21:26:38 +01:00
parent 06a527a552
commit 5c10dcbd7d

View File

@ -1,6 +1,6 @@
use core::fmt;
pub trait Task: core::fmt::Debug {
pub trait Task: Send {
fn tick(&mut self) {}
fn start(&mut self) {}
fn stop(&mut self) {}