externally-driven-async-rt 0.2.0

Async runtime that is meant to be embedded
Documentation
1
2
3
4
5
6
7
8
9
use crate::tasks::TaskId;

#[derive(Debug, Clone, Copy)]
#[must_use]
pub(crate) enum Root<const TASK_SIZE: usize> {
    Unset,
    Running(TaskId<TASK_SIZE>),
    Finished,
}