pub struct AsyncRunnerChannels {
pub time_evt_rx: UnboundedReceiver<TimeEventMessage>,
pub system_evt_rx: UnboundedReceiver<SystemEvent>,
pub system_cmd_rx: UnboundedReceiver<SystemCommand>,
pub exec_evt_rx: UnboundedReceiver<ExecutionEvent>,
pub exec_cmd_rx: UnboundedReceiver<TradingCommandMessage>,
pub data_evt_rx: UnboundedReceiver<DataEvent>,
pub data_cmd_rx: UnboundedReceiver<DataCommand>,
}Expand description
Channel receivers for the async event loop.
These can be extracted from AsyncRunner via take_channels() to drive
the event loop directly on the same thread as the msgbus endpoints.
Fields§
§time_evt_rx: UnboundedReceiver<TimeEventMessage>§system_evt_rx: UnboundedReceiver<SystemEvent>§system_cmd_rx: UnboundedReceiver<SystemCommand>§exec_evt_rx: UnboundedReceiver<ExecutionEvent>§exec_cmd_rx: UnboundedReceiver<TradingCommandMessage>§data_evt_rx: UnboundedReceiver<DataEvent>§data_cmd_rx: UnboundedReceiver<DataCommand>Trait Implementations§
Auto Trait Implementations§
impl Freeze for AsyncRunnerChannels
impl RefUnwindSafe for AsyncRunnerChannels
impl Send for AsyncRunnerChannels
impl Sync for AsyncRunnerChannels
impl Unpin for AsyncRunnerChannels
impl UnsafeUnpin for AsyncRunnerChannels
impl UnwindSafe for AsyncRunnerChannels
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more