Crate tinycoro

Crate tinycoro 

Source
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§

CoroutineError
Safe wrapper for coroutine errors
CoroutineState
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)