pub struct InflightOrders { /* private fields */ }Expand description
Shared receipt state for a venue’s command queues and matching engines.
Implementations§
Source§impl InflightOrders
impl InflightOrders
Sourcepub fn insert(&self, command: &TradingCommand)
pub fn insert(&self, command: &TradingCommand)
Marks a queued submit’s orders as awaiting venue receipt.
Non-submit commands are ignored.
Sourcepub fn remove(&self, command: &TradingCommand)
pub fn remove(&self, command: &TradingCommand)
Releases all orders in a submit immediately before the venue processes it.
The first receipt releases the order even if a duplicate submit remains queued. Non-submit commands are ignored.
Trait Implementations§
Source§impl Clone for InflightOrders
impl Clone for InflightOrders
Source§impl Debug for InflightOrders
impl Debug for InflightOrders
Auto Trait Implementations§
impl !RefUnwindSafe for InflightOrders
impl !Send for InflightOrders
impl !Sync for InflightOrders
impl !UnwindSafe for InflightOrders
impl Freeze for InflightOrders
impl Unpin for InflightOrders
impl UnsafeUnpin for InflightOrders
Blanket Implementations§
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