embassy-executor 0.10.0

async/await executor designed for embedded usage
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: task functions must not be generic
 --> tests/ui/nonstatic_struct_generic.rs:6:1
  |
6 | async fn task<'a>(_x: Foo<'a>) {}
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: Arguments for tasks must live forever. Try using the `'static` lifetime.
 --> tests/ui/nonstatic_struct_generic.rs:6:27
  |
6 | async fn task<'a>(_x: Foo<'a>) {}
  |                           ^^