Crate open_coroutine_core

Source
Expand description

§title: open-coroutine Overview date: 2025-01-10 08:24:00 author: loongs-zhang

§open-coroutine overview

English | 中文

crates.io docs.rs LICENSE Build Status Codecov Average time to resolve an issue Percentage of issues still open

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 use std cause #![no_std] not support thread_local!.
impl_display_by_debug
Fast impl Display trait for Debug types.
impl_eq_for_named
Fast impl Eq for Named 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 for Named types.
impl_ord_for_named
Fast impl Ord for Named 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.