Enum hftbacktest::backtest::BacktestError
source · pub enum BacktestError {
OrderIdExist,
OrderRequestInProcess,
OrderNotFound,
InvalidOrderRequest,
InvalidOrderStatus,
EndOfData,
DataError(Error),
}Available on crate feature
backtest only.Expand description
Errors that can occur during backtesting.
Variants§
OrderIdExist
OrderRequestInProcess
OrderNotFound
InvalidOrderRequest
InvalidOrderStatus
EndOfData
DataError(Error)
Trait Implementations§
source§impl Debug for BacktestError
impl Debug for BacktestError
source§impl Display for BacktestError
impl Display for BacktestError
source§impl Error for BacktestError
impl Error for BacktestError
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()
Auto Trait Implementations§
impl Freeze for BacktestError
impl !RefUnwindSafe for BacktestError
impl Send for BacktestError
impl Sync for BacktestError
impl Unpin for BacktestError
impl !UnwindSafe for BacktestError
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