pub struct ExecutionEngine { /* private fields */ }
Implementations§
Source§impl ExecutionEngine
impl ExecutionEngine
pub fn new( clock: Rc<RefCell<dyn Clock>>, cache: Rc<RefCell<Cache>>, msgbus: Rc<RefCell<MessageBus>>, config: ExecutionEngineConfig, ) -> Self
pub fn position_id_count(&self, strategy_id: StrategyId) -> usize
pub fn check_integrity(&self) -> bool
pub fn check_connected(&self) -> bool
pub fn check_disconnected(&self) -> bool
pub fn check_residuals(&self) -> bool
pub fn get_external_order_claims_instruments(&self) -> HashSet<InstrumentId>
pub fn register_client(&mut self, client: ExecutionClient) -> Result<()>
pub fn register_default_client(&mut self, client: ExecutionClient)
pub fn register_venue_routing( &mut self, client_id: ClientId, venue: Venue, ) -> Result<()>
pub fn deregister_client(&mut self, client_id: ClientId) -> Result<()>
pub fn load_cache(&self)
pub fn flush_db(&self)
pub fn process(&self, event: &OrderEventAny)
pub fn handle_submit_order_list( &self, client: &ExecutionClient, command: SubmitOrderList, )
pub const fn handle_cancel_all_orders( &self, client: &ExecutionClient, command: CancelAllOrders, )
Auto Trait Implementations§
impl Freeze for ExecutionEngine
impl !RefUnwindSafe for ExecutionEngine
impl !Send for ExecutionEngine
impl !Sync for ExecutionEngine
impl Unpin for ExecutionEngine
impl !UnwindSafe for ExecutionEngine
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more