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§
- 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§
- Scope
Guard ScopeGuard
is a scope guard that may own a protected value.- Stack
- Represents any kind of stack memory.
- Work
Steal Queue
Enums§
- Always
- Always run on scope exit.
- OnSuccess
- Run on regular scope exit, when not unwinding.
- OnUnwind
- Run on scope exit through unwinding.
- Stack
Error - Error type returned by stack allocation methods.
- Steal
Error - 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
owningv
and with deferred closuredropfn
. - guard_
on_ success - Create a new
ScopeGuard
owningv
and with deferred closuredropfn
. - guard_
on_ unwind - Create a new
ScopeGuard
owningv
and with deferred closuredropfn
.