Struct NullFeatureStore
pub struct NullFeatureStore;Expand description
Stub feature store that returns None for all queries.
Used during early development, tests, and modes where derived features are not yet computed.
Trait Implementations§
§impl FeatureStore for NullFeatureStore
impl FeatureStore for NullFeatureStore
§fn get_regime(&self, _instrument_id: &InstrumentId) -> Option<RegimeState>
fn get_regime(&self, _instrument_id: &InstrumentId) -> Option<RegimeState>
Market regime classification for an instrument.
§fn get_flow(&self, _instrument_id: &InstrumentId) -> Option<FlowMetrics>
fn get_flow(&self, _instrument_id: &InstrumentId) -> Option<FlowMetrics>
Net order-flow metrics for an instrument.
Auto Trait Implementations§
impl Freeze for NullFeatureStore
impl RefUnwindSafe for NullFeatureStore
impl Send for NullFeatureStore
impl Sync for NullFeatureStore
impl Unpin for NullFeatureStore
impl UnsafeUnpin for NullFeatureStore
impl UnwindSafe for NullFeatureStore
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more