pub struct PythonSimulationModule { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for PythonSimulationModule
impl Clone for PythonSimulationModule
Source§impl Debug for PythonSimulationModule
impl Debug for PythonSimulationModule
Source§impl SimulationModule for PythonSimulationModule
impl SimulationModule for PythonSimulationModule
Source§fn pre_process(&self, data: &Data) -> Result<()>
fn pre_process(&self, data: &Data) -> Result<()>
Pre-processes market data before matching engine processing. Read more
Source§fn process(
&self,
ts_now: UnixNanos,
ctx: &ExchangeContext<'_>,
) -> Result<SimulationModuleResult>
fn process( &self, ts_now: UnixNanos, ctx: &ExchangeContext<'_>, ) -> Result<SimulationModuleResult>
Processes simulation logic at the given timestamp. Read more
Source§fn acknowledge(&self, outcomes: &[AccountAdjustmentOutcome]) -> Result<()>
fn acknowledge(&self, outcomes: &[AccountAdjustmentOutcome]) -> Result<()>
Acknowledges the ordered application outcomes for a completed batch. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for PythonSimulationModule
impl Freeze for PythonSimulationModule
impl Send for PythonSimulationModule
impl Sync for PythonSimulationModule
impl Unpin for PythonSimulationModule
impl UnsafeUnpin for PythonSimulationModule
impl UnwindSafe for PythonSimulationModule
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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