Expand description
Rust bindings for the minicoro library
This crate provides safe and unsafe bindings to minicoro, a minimal asymmetric stackful cross-platform coroutine library in pure C.
Structs§
- Coroutine
- A safe wrapper around a minicoro coroutine
Enums§
- Coroutine
Error - Safe wrapper for coroutine errors
- Coroutine
State - Safe wrapper for coroutine states
Functions§
- running
- Get the currently running coroutine (if any)
- yield_
current - Yield the current coroutine (safe version)
- yield_
current_ ⚠unsafe - Yield the current coroutine (unsafe version for advanced use)