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
Currentfor a type. This crate usestdcause#![no_std]not supportthread_local!. - impl_
display_ by_ debug - Fast impl
Displaytrait forDebugtypes. - impl_
eq_ for_ named - Fast impl
EqforNamedtypes. - impl_
for_ named - Fast impl common traits for
Namedtypes. Check https://www.rustwiki.org.cn/en/reference/introduction.html for help information. - impl_
hash_ for_ named - Fast impl
std::hash::HashforNamedtypes. - impl_
ord_ for_ named - Fast impl
OrdforNamedtypes. - info
- Constructs an event at the info level.
- trace
- Constructs an event at the trace level.
- warn
- Constructs an event at the warn level.