pub enum SimulationModuleAny {
FXRolloverInterest(FXRolloverInterestModule),
}Variants§
FXRolloverInterest(FXRolloverInterestModule)
Trait Implementations§
Source§impl Clone for SimulationModuleAny
impl Clone for SimulationModuleAny
Source§fn clone(&self) -> SimulationModuleAny
fn clone(&self) -> SimulationModuleAny
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimulationModuleAny
impl Debug for SimulationModuleAny
Source§impl From<SimulationModuleAny> for Box<dyn SimulationModule>
impl From<SimulationModuleAny> for Box<dyn SimulationModule>
Source§fn from(value: SimulationModuleAny) -> Self
fn from(value: SimulationModuleAny) -> Self
Converts to this type from the input type.
Source§impl SimulationModule for SimulationModuleAny
impl SimulationModule for SimulationModuleAny
Source§fn pre_process(&self, data: &Data)
fn pre_process(&self, data: &Data)
Pre-processes market data before matching engine processing.
Source§fn process(&self, ts_now: UnixNanos, ctx: &ExchangeContext<'_>) -> Vec<Money>
fn process(&self, ts_now: UnixNanos, ctx: &ExchangeContext<'_>) -> Vec<Money>
Processes simulation logic at the given timestamp. Read more
Source§fn log_diagnostics(&self)
fn log_diagnostics(&self)
Logs diagnostic information about the module’s state.
Auto Trait Implementations§
impl !Freeze for SimulationModuleAny
impl !RefUnwindSafe for SimulationModuleAny
impl Send for SimulationModuleAny
impl !Sync for SimulationModuleAny
impl Unpin for SimulationModuleAny
impl UnsafeUnpin for SimulationModuleAny
impl UnwindSafe for SimulationModuleAny
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
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>
§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