pub struct AsyncTradingCommandSender { /* private fields */ }Expand description
Asynchronous implementation of TradingCommandSender for live environments.
Implementations§
Source§impl AsyncTradingCommandSender
impl AsyncTradingCommandSender
pub const fn new(cmd_tx: UnboundedSender<TradingCommandMessage>) -> Self
Trait Implementations§
Source§impl Debug for AsyncTradingCommandSender
impl Debug for AsyncTradingCommandSender
Source§impl TradingCommandSender for AsyncTradingCommandSender
impl TradingCommandSender for AsyncTradingCommandSender
Source§fn execute(&self, message: TradingCommandMessage)
fn execute(&self, message: TradingCommandMessage)
Defers a trading command message. Read more
Auto Trait Implementations§
impl Freeze for AsyncTradingCommandSender
impl RefUnwindSafe for AsyncTradingCommandSender
impl Send for AsyncTradingCommandSender
impl Sync for AsyncTradingCommandSender
impl Unpin for AsyncTradingCommandSender
impl UnsafeUnpin for AsyncTradingCommandSender
impl UnwindSafe for AsyncTradingCommandSender
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