Expand description
§title: open-coroutine Overview date: 2025-01-10 08:24:00 author: loongs-zhang
§open-coroutine overview
English | 中文
The open-coroutine
is a simple, efficient and generic stackfull-coroutine library, you can use this as a performance
replacement for IO thread pools, see why better.
Modules§
- co_pool
- Coroutine pool abstraction and impl.
- common
- Common traits and impl.
- config
- Configuration for
EventLoops
. - coroutine
- net
- net abstraction and impl.
- scheduler
- Schedule many coroutines.
- syscall
- Syscall impl.
Macros§
- catch
- Catch panic.
- co
- Create a new coroutine.
- error
- Constructs an event at the error level.
- impl_
current_ for - Fast impl
Current
for a type. This crate usestd
cause#![no_std]
not supportthread_local!
. - impl_
display_ by_ debug - Fast impl
Display
trait forDebug
types. - impl_
eq_ for_ named - Fast impl
Eq
forNamed
types. - impl_
for_ named - Fast impl common traits for
Named
types. Check https://www.rustwiki.org.cn/en/reference/introduction.html for help information. - impl_
hash_ for_ named - Fast impl
std::hash::Hash
forNamed
types. - impl_
ord_ for_ named - Fast impl
Ord
forNamed
types. - info
- Constructs an event at the info level.
- trace
- Constructs an event at the trace level.
- warn
- Constructs an event at the warn level.