pub enum BacktestStoreError {
Unavailable(String),
NotFound,
Conflict,
Invalid(String),
ReportTooLarge {
actual: usize,
maximum: usize,
},
}Expand description
Failure owned by the durable replay store.
Variants§
Store dependency is unavailable.
NotFound
Requested record does not exist in the tenant.
Conflict
An owned Run exists but rejects this state transition or result.
Invalid(String)
Input is invalid.
ReportTooLarge
Report exceeds its configured serialized size cap.
Trait Implementations§
Source§impl Debug for BacktestStoreError
impl Debug for BacktestStoreError
Source§impl Display for BacktestStoreError
impl Display for BacktestStoreError
impl Eq for BacktestStoreError
Source§impl Error for BacktestStoreError
impl Error for BacktestStoreError
1.30.0 · 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 PartialEq for BacktestStoreError
impl PartialEq for BacktestStoreError
impl StructuralPartialEq for BacktestStoreError
Auto Trait Implementations§
impl Freeze for BacktestStoreError
impl RefUnwindSafe for BacktestStoreError
impl Send for BacktestStoreError
impl Sync for BacktestStoreError
impl Unpin for BacktestStoreError
impl UnsafeUnpin for BacktestStoreError
impl UnwindSafe for BacktestStoreError
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