pub struct SyncDataCommandSender;Expand description
Synchronous DataCommandSender for backtest environments.
Buffers commands in a thread-local queue for deferred execution,
avoiding RefCell re-entrancy when sent from event handler callbacks.
Trait Implementations§
Source§impl DataCommandSender for SyncDataCommandSender
impl DataCommandSender for SyncDataCommandSender
Source§fn execute(&self, command: DataCommand)
fn execute(&self, command: DataCommand)
Executes a data command. Read more
Auto Trait Implementations§
impl Freeze for SyncDataCommandSender
impl RefUnwindSafe for SyncDataCommandSender
impl Send for SyncDataCommandSender
impl Sync for SyncDataCommandSender
impl Unpin for SyncDataCommandSender
impl UnsafeUnpin for SyncDataCommandSender
impl UnwindSafe for SyncDataCommandSender
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