Module embassy_executor::raw

source ·
Expand description

Raw executor.

This module exposes “raw” Executor and Task structs for more low level control.

WARNING: here be dragons!

Using this module requires respecting subtle safety contracts. If you can, prefer using the safe executor wrappers and the embassy_executor::task macro, which are fully safe.

Structs

  • Raw executor.
  • Platform/architecture-specific action executed when an executor has pending work.
  • Raw storage that can hold up to N tasks of the same type.
  • This is essentially a &'static TaskStorage<F> where the type of the future has been erased.
  • Raw storage in which a task can be spawned.

Functions