pub struct ExecutionEngine<C>where
C: Clock,{ /* private fields */ }
Implementations§
source§impl<C> ExecutionEngine<C>where
C: Clock,
impl<C> ExecutionEngine<C>where
C: Clock,
pub fn position_id_count(&self, strategy_id: StrategyId) -> u64
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) -> Result<()>
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 execute(&mut self, command: TradingCommand)
pub fn process(&self, event: &OrderEventAny)
Auto Trait Implementations§
impl<C> Freeze for ExecutionEngine<C>where
C: Freeze,
impl<C> !RefUnwindSafe for ExecutionEngine<C>
impl<C> !Send for ExecutionEngine<C>
impl<C> !Sync for ExecutionEngine<C>
impl<C> Unpin for ExecutionEngine<C>where
C: Unpin,
impl<C> !UnwindSafe for ExecutionEngine<C>
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