pub struct MessagingSwitchboard {
pub data_engine_execute: Ustr,
pub data_engine_process: Ustr,
pub exec_engine_execute: Ustr,
pub exec_engine_process: Ustr,
/* private fields */
}
Expand description
Represents a switchboard of built-in messaging endpoint names.
Fields§
§data_engine_execute: Ustr
§data_engine_process: Ustr
§exec_engine_execute: Ustr
§exec_engine_process: Ustr
Implementations§
Source§impl MessagingSwitchboard
impl MessagingSwitchboard
pub fn get_custom_topic(&mut self, data_type: &DataType) -> Ustr
pub fn get_instrument_topic(&mut self, instrument_id: InstrumentId) -> Ustr
pub fn get_deltas_topic(&mut self, instrument_id: InstrumentId) -> Ustr
pub fn get_depth_topic(&mut self, instrument_id: InstrumentId) -> Ustr
pub fn get_snapshots_topic(&mut self, instrument_id: InstrumentId) -> Ustr
pub fn get_quote_topic(&mut self, instrument_id: InstrumentId) -> Ustr
pub fn get_trade_topic(&mut self, instrument_id: InstrumentId) -> Ustr
pub fn get_bar_topic(&mut self, bar_type: BarType) -> Ustr
Trait Implementations§
Source§impl Clone for MessagingSwitchboard
impl Clone for MessagingSwitchboard
Source§fn clone(&self) -> MessagingSwitchboard
fn clone(&self) -> MessagingSwitchboard
Returns a copy 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 MessagingSwitchboard
impl Debug for MessagingSwitchboard
Source§impl Default for MessagingSwitchboard
impl Default for MessagingSwitchboard
Source§fn default() -> Self
fn default() -> Self
Creates a new default MessagingSwitchboard
instance.
Auto Trait Implementations§
impl Freeze for MessagingSwitchboard
impl RefUnwindSafe for MessagingSwitchboard
impl Send for MessagingSwitchboard
impl Sync for MessagingSwitchboard
impl Unpin for MessagingSwitchboard
impl UnwindSafe for MessagingSwitchboard
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