Skip to main content

MessagingSwitchboard

Struct MessagingSwitchboard 

Source
pub struct MessagingSwitchboard { /* private fields */ }
Expand description

Represents a switchboard of built-in messaging endpoint names.

Implementations§

Source§

impl MessagingSwitchboard

Source

pub fn data_engine_queue_execute() -> MStr<Endpoint>

Queued entry point for DataEngine commands.

Source

pub fn data_engine_execute() -> MStr<Endpoint>

Direct dispatch endpoint for DataEngine commands.

Source

pub fn data_engine_process() -> MStr<Endpoint>

Source

pub fn data_engine_process_data() -> MStr<Endpoint>

Source

pub fn data_engine_process_defi_data() -> MStr<Endpoint>

Source

pub fn data_engine_response() -> MStr<Endpoint>

Source

pub fn data_response_topic() -> MStr<Topic>

Source

pub fn time_event_topic() -> MStr<Topic>

Pub/sub topic used by the event-store tap for fired clock events.

Source

pub fn exec_engine_execute() -> MStr<Endpoint>

Direct dispatch endpoint for ExecEngine commands.

Source

pub fn exec_engine_queue_execute() -> MStr<Endpoint>

Queued entry point for ExecEngine commands.

Source

pub fn exec_engine_process() -> MStr<Endpoint>

Source

pub fn exec_engine_reconcile_execution_report() -> MStr<Endpoint>

Source

pub fn risk_engine_execute() -> MStr<Endpoint>

Direct dispatch endpoint for RiskEngine commands.

Source

pub fn risk_engine_queue_execute() -> MStr<Endpoint>

Queued entry point for RiskEngine commands.

Source

pub fn risk_engine_process() -> MStr<Endpoint>

Source

pub fn order_emulator_execute() -> MStr<Endpoint>

Source

pub fn portfolio_update_account() -> MStr<Endpoint>

Source

pub fn portfolio_update_order() -> MStr<Endpoint>

Source

pub fn shutdown_system_topic() -> MStr<Topic>

Pub/sub topic carrying ShutdownSystem commands published by actors, engines, and strategies.

Matches the Python topic. The kernel subscribes to validate the command and signal graceful shutdown; additional components may subscribe to react to the same signal.

Source

pub fn reconciliation_raw_order_status_report_topic() -> MStr<Topic>

Pub/sub topic carrying raw OrderStatusReports that arrived from a venue client, published by the execution engine at the top of reconciliation before any state mutation.

The event store bus tap captures publications on this topic so forensic replay can re-run reconciliation against the same raw inputs the live engine saw. Subscribers are not expected in production; the capture surface is the sole consumer today.

Source

pub fn reconciliation_raw_fill_report_topic() -> MStr<Topic>

Pub/sub topic carrying raw FillReports that arrived from a venue client, published by the execution engine at the top of reconciliation before any state mutation.

See Self::reconciliation_raw_order_status_report_topic for the capture contract.

Source

pub fn reconciliation_raw_position_status_report_topic() -> MStr<Topic>

Pub/sub topic carrying raw PositionStatusReports that arrived from a venue client, published by the execution engine at the top of reconciliation before any state mutation.

See Self::reconciliation_raw_order_status_report_topic for the capture contract.

Source

pub fn instruments_pattern(&mut self, venue: Venue) -> MStr<Pattern>

Returns a wildcard pattern for matching all instrument topics for a venue.

Source

pub fn signal_topic(&mut self, name: &str) -> MStr<Topic>

Returns the exact signal publish topic for name (data.Signal<TitleName>).

The title-cased encoding mirrors the v1 Python convention so subscribers keyed on either a specific name or the global data.Signal* wildcard receive published signals.

Source

pub fn signal_pattern(&mut self, name: &str) -> MStr<Pattern>

Returns the subscription pattern for name (data.Signal<TitleName>*).

An empty name yields the wildcard data.Signal* that matches every signal topic.

Source

pub fn get_custom_topic(&mut self, data_type: &DataType) -> MStr<Topic>

Source

pub fn get_instruments_topic(&mut self, venue: Venue) -> MStr<Topic>

Source

pub fn get_instrument_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_book_deltas_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_book_depth10_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_book_snapshots_topic( &mut self, instrument_id: InstrumentId, interval_ms: NonZeroUsize, ) -> MStr<Topic>

Source

pub fn get_quotes_topic(&mut self, instrument_id: InstrumentId) -> MStr<Topic>

Source

pub fn get_trades_topic(&mut self, instrument_id: InstrumentId) -> MStr<Topic>

Source

pub fn get_bars_topic(&mut self, bar_type: BarType) -> MStr<Topic>

Source

pub fn get_mark_price_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_index_price_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_funding_rate_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_funding_settlement_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_instrument_status_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_instrument_close_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_option_greeks_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_option_chain_topic( &mut self, series_id: OptionSeriesId, ) -> MStr<Topic>

Source

pub fn get_order_submitted_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_rejected_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_pending_update_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_pending_cancel_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_modify_rejected_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_cancel_rejected_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_canceled_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_order_filled_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_event_order_topic(&mut self, strategy_id: StrategyId) -> MStr<Topic>

Source

pub fn get_event_position_topic( &mut self, strategy_id: StrategyId, ) -> MStr<Topic>

Source

pub fn get_snapshot_order_topic( &mut self, client_order_id: ClientOrderId, ) -> MStr<Topic>

Source

pub fn get_snapshot_position_topic( &mut self, position_id: PositionId, ) -> MStr<Topic>

Source§

impl MessagingSwitchboard

Source

pub fn get_pipeline_custom_topic(&mut self, data_type: &DataType) -> MStr<Topic>

Source

pub fn get_pipeline_book_deltas_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_book_depth10_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_quotes_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_trades_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_bars_topic(&mut self, bar_type: BarType) -> MStr<Topic>

Source

pub fn get_pipeline_mark_price_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_index_price_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_funding_rate_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_instrument_status_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_option_greeks_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_pipeline_instrument_close_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_book_deltas_pattern( &mut self, instrument_id: InstrumentId, ) -> MStr<Pattern>

Returns the subscription pattern for order book deltas on instrument_id.

Source

pub fn get_book_depth10_pattern( &mut self, instrument_id: InstrumentId, ) -> MStr<Pattern>

Returns the subscription pattern for order book depth10 snapshots on instrument_id.

Source

pub fn get_book_snapshots_pattern( &mut self, instrument_id: InstrumentId, interval_ms: NonZeroUsize, ) -> MStr<Pattern>

Returns the subscription pattern for periodic order book snapshots on instrument_id.

Source§

impl MessagingSwitchboard

Source

pub fn get_defi_blocks_topic(&mut self, chain: Blockchain) -> MStr<Topic>

Source

pub fn get_defi_pool_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_defi_pool_swaps_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_defi_pool_liquidity_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_defi_pool_collect_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Source

pub fn get_defi_pool_flash_topic( &mut self, instrument_id: InstrumentId, ) -> MStr<Topic>

Trait Implementations§

Source§

impl Clone for MessagingSwitchboard

Source§

fn clone(&self) -> MessagingSwitchboard

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MessagingSwitchboard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MessagingSwitchboard

Source§

fn default() -> Self

Creates a new default MessagingSwitchboard instance.

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Ungil for T
where T: Send,

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more