Crate base_coroutine

Source

Re-exports§

pub use coroutine::*;
pub use epoll::*;
pub use event_loop::event::*;
pub use event_loop::interest::*;
pub use event_loop::*;
pub use scheduler::*;

Modules§

coroutine
epoll
event_loop
scheduler

Macros§

defer
Macro to create a ScopeGuard (always run).
defer_on_success
Macro to create a ScopeGuard (run on successful scope exit).
defer_on_unwind
Macro to create a ScopeGuard (run on unwinding from panic).

Structs§

ScopeGuard
ScopeGuard is a scope guard that may own a protected value.
Stack
Represents any kind of stack memory.
WorkStealQueue

Enums§

Always
Always run on scope exit.
OnSuccess
Run on regular scope exit, when not unwinding.
OnUnwind
Run on scope exit through unwinding.
StackError
Error type returned by stack allocation methods.
StealError
Error type returned by steal methods.

Traits§

Strategy
Controls in which cases the associated code should be run

Functions§

get_queue
guard
Create a new ScopeGuard owning v and with deferred closure dropfn.
guard_on_success
Create a new ScopeGuard owning v and with deferred closure dropfn.
guard_on_unwind
Create a new ScopeGuard owning v and with deferred closure dropfn.