Expand description
Global runtime machinery and thread-local storage.
This module provides global access to shared runtime resources including clocks, message queues, and time event channels. It manages thread-local storage for system-wide components that need to be accessible across threads.
Structs§
- Sync
Data Command Sender - Synchronous implementation of DataCommandSender for backtest environments.
Enums§
Traits§
- Data
Command Sender - Trait for data command sending that can be implemented for both sync and async runners.
- Time
Event Sender - Trait for time event sending that can be implemented for both sync and async runners.
Functions§
- get_
data_ cmd_ sender - Gets the global data command sender.
- get_
data_ event_ sender - Gets the global data event sender.
- get_
time_ event_ sender - Gets the global time event sender.
- set_
data_ cmd_ sender - Sets the global data command sender.
- set_
data_ event_ sender - Sets the global data event sender.
- set_
time_ event_ sender - Sets the global time event sender.
- try_
get_ time_ event_ sender - Attempts to get the global time event sender without panicking.