pub enum ConfiguredStrategyAdapterBuildError {
MissingSourceBinding {
source_id: SourceId,
},
DuplicateSourceBinding {
source_id: SourceId,
},
DuplicateSeriesBinding {
series_id: SeriesId,
},
UndeclaredSourceBinding {
source_id: SourceId,
},
SourceSymbolMismatch {
source_id: SourceId,
primary_symbol: String,
series_symbol: String,
},
RetentionBelowLookback {
source_id: SourceId,
required: usize,
retained: usize,
},
WarmupBelowLookback {
source_id: SourceId,
required: usize,
warmup: usize,
},
MissingNamedInputProjector {
name: String,
},
DuplicateNamedInputProjector {
name: String,
},
NamedInputTypeMismatch {
name: String,
expected: ValueType,
actual: ValueType,
},
UndeclaredNamedInputProjector {
name: String,
},
HistoricalRequirements(StrategyDomainError),
}Expand description
Binding failures detected before replay starts.
Variants§
MissingSourceBinding
DuplicateSourceBinding
DuplicateSeriesBinding
UndeclaredSourceBinding
SourceSymbolMismatch
RetentionBelowLookback
WarmupBelowLookback
MissingNamedInputProjector
DuplicateNamedInputProjector
NamedInputTypeMismatch
UndeclaredNamedInputProjector
HistoricalRequirements(StrategyDomainError)
Trait Implementations§
Source§impl Error for ConfiguredStrategyAdapterBuildError
impl Error for ConfiguredStrategyAdapterBuildError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<StrategyDomainError> for ConfiguredStrategyAdapterBuildError
impl From<StrategyDomainError> for ConfiguredStrategyAdapterBuildError
Source§fn from(source: StrategyDomainError) -> Self
fn from(source: StrategyDomainError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfiguredStrategyAdapterBuildError
impl RefUnwindSafe for ConfiguredStrategyAdapterBuildError
impl Send for ConfiguredStrategyAdapterBuildError
impl Sync for ConfiguredStrategyAdapterBuildError
impl Unpin for ConfiguredStrategyAdapterBuildError
impl UnsafeUnpin for ConfiguredStrategyAdapterBuildError
impl UnwindSafe for ConfiguredStrategyAdapterBuildError
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