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

Macros

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

Structs

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

Enums

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

Traits

Controls in which cases the associated code should be run

Functions

Create a new ScopeGuard owning v and with deferred closure dropfn.
Create a new ScopeGuard owning v and with deferred closure dropfn.
Create a new ScopeGuard owning v and with deferred closure dropfn.