Crate open_coroutine
source ·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
A readiness event.
A collection of readiness events.
Interest used in registering.
ScopeGuard
is a scope guard that may own a protected value.Represents any kind of stack memory.
Enums
Always run on scope exit.
Value returned from resuming a coroutine.
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
.