pub enum StrategyReplayInputError {
FutureQuote(String),
ManagementProfile(String),
ConfiguredEntryProfile(ConfiguredEntryProfileError),
ConfiguredAdapter(ConfiguredStrategyAdapterPreflightError),
MissingSeries {
series_id: String,
},
ConflictingSeries {
series_id: String,
},
UndeclaredSeries {
series_id: String,
},
}Expand description
Preflight failures for strategy series and replay configuration.
Variants§
FutureQuote(String)
ManagementProfile(String)
ConfiguredEntryProfile(ConfiguredEntryProfileError)
ConfiguredAdapter(ConfiguredStrategyAdapterPreflightError)
MissingSeries
ConflictingSeries
UndeclaredSeries
Trait Implementations§
Source§impl Clone for StrategyReplayInputError
impl Clone for StrategyReplayInputError
Source§impl Debug for StrategyReplayInputError
impl Debug for StrategyReplayInputError
Source§impl Display for StrategyReplayInputError
impl Display for StrategyReplayInputError
impl Eq for StrategyReplayInputError
Source§impl Error for StrategyReplayInputError
impl Error for StrategyReplayInputError
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<ConfiguredEntryProfileError> for StrategyReplayInputError
impl From<ConfiguredEntryProfileError> for StrategyReplayInputError
Source§fn from(source: ConfiguredEntryProfileError) -> Self
fn from(source: ConfiguredEntryProfileError) -> Self
Converts to this type from the input type.
Source§impl From<ConfiguredStrategyAdapterPreflightError> for StrategyReplayInputError
impl From<ConfiguredStrategyAdapterPreflightError> for StrategyReplayInputError
Source§fn from(source: ConfiguredStrategyAdapterPreflightError) -> Self
fn from(source: ConfiguredStrategyAdapterPreflightError) -> Self
Converts to this type from the input type.
Source§impl<FeedError> From<StrategyReplayInputError> for PortfolioReplayError<FeedError>
impl<FeedError> From<StrategyReplayInputError> for PortfolioReplayError<FeedError>
Source§fn from(source: StrategyReplayInputError) -> Self
fn from(source: StrategyReplayInputError) -> Self
Converts to this type from the input type.
Source§impl<FeedError, StrategyError> From<StrategyReplayInputError> for StrategyReplayError<FeedError, StrategyError>
impl<FeedError, StrategyError> From<StrategyReplayInputError> for StrategyReplayError<FeedError, StrategyError>
Source§fn from(source: StrategyReplayInputError) -> Self
fn from(source: StrategyReplayInputError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StrategyReplayInputError
impl PartialEq for StrategyReplayInputError
impl StructuralPartialEq for StrategyReplayInputError
Auto Trait Implementations§
impl Freeze for StrategyReplayInputError
impl RefUnwindSafe for StrategyReplayInputError
impl Send for StrategyReplayInputError
impl Sync for StrategyReplayInputError
impl Unpin for StrategyReplayInputError
impl UnsafeUnpin for StrategyReplayInputError
impl UnwindSafe for StrategyReplayInputError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.