Expand description
Context trait and Local/Shared implementations
The Context trait provides the execution environment (Local vs Shared) and carries the Scheduler for dependency injection.
Re-exports§
pub use crate::rc::*;
Structs§
- Local
Ctx - Local context for single-threaded execution
- Local
Scope - Local scope marker - single-threaded, uses Rc/RefCell
- Shared
Ctx - Shared context for multi-threaded execution
- Shared
Scope - Shared scope marker - multi-threaded, uses Arc/Mutex
Traits§
- Context
- Context trait: Defines the execution environment and provides scheduling capabilities
- Scope
- Scope defines environment capabilities (Local vs Shared) as a type-level marker.