task: require Tasks to have Send
This commit is contained in:
parent
06a527a552
commit
5c10dcbd7d
@ -1,6 +1,6 @@
|
|||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
pub trait Task: core::fmt::Debug {
|
pub trait Task: Send {
|
||||||
fn tick(&mut self) {}
|
fn tick(&mut self) {}
|
||||||
fn start(&mut self) {}
|
fn start(&mut self) {}
|
||||||
fn stop(&mut self) {}
|
fn stop(&mut self) {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user