pub struct InstrumentDomain { /* private fields */ }Implementations§
Source§impl InstrumentDomain
impl InstrumentDomain
pub fn load( config: &InstrumentsSection, registry: &SymbolRegistry, ) -> Result<Self>
pub fn compatibility(registry: &SymbolRegistry) -> Result<Self>
pub fn snapshot(&self) -> &InstrumentCatalogSnapshot
pub fn data_source(&self) -> &MarketDataSourceId
pub fn symbol_resolver<'a>( &'a self, registry: &'a SymbolRegistry, ) -> SymbolPartitionResolver<'a>
pub fn resolve_manifest( &self, symbols: &[String], at: NaiveDateTime, through: Option<NaiveDateTime>, ) -> Result<ReplayInstrumentManifest>
pub fn attach_stored_series( &self, manifest: &mut ReplayInstrumentManifest, coordinates: impl IntoIterator<Item = (String, String, String)>, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InstrumentDomain
impl RefUnwindSafe for InstrumentDomain
impl Send for InstrumentDomain
impl Sync for InstrumentDomain
impl Unpin for InstrumentDomain
impl UnsafeUnpin for InstrumentDomain
impl UnwindSafe for InstrumentDomain
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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