pub enum ChronoshiftError {
CheckpointNotFound {
timeline: String,
tick: u64,
},
DigestChainBroken {
tick: u64,
seq: u64,
expected: String,
actual: String,
},
DeterminismViolation {
tick: u64,
source_hash: String,
replay_hash: String,
},
ForkLimitExceeded {
max: u32,
current: u32,
},
ReplayOverflow {
max: usize,
attempted: usize,
},
TickOrderViolation {
prev_tick: u64,
curr_tick: u64,
},
ReplayRangeInvalid {
from: u64,
to: u64,
},
TimelineNotFound {
timeline: String,
},
TimelineExpired {
timeline: String,
expired_at: u64,
},
ComputeCapExceeded {
cap_pct: u32,
},
}Expand description
Errors produced by Chronobreak operations.
Variants§
CheckpointNotFound
Referenced checkpoint does not exist for the given timeline and tick.
DigestChainBroken
Digest chain is broken at the specified event.
DeterminismViolation
Replay produced a different hash than the original, indicating non-determinism or state corruption.
ForkLimitExceeded
Maximum number of concurrent forks has been reached.
ReplayOverflow
Replay buffer would exceed the maximum event cap.
TickOrderViolation
Event tick is less than the previous event’s tick (out of order).
ReplayRangeInvalid
The requested replay range is invalid (from > to, or zero-length).
TimelineNotFound
Referenced timeline does not exist.
TimelineExpired
Timeline has expired and can no longer be read or replayed.
ComputeCapExceeded
Fork would exceed the compute budget cap.
Trait Implementations§
Source§impl Clone for ChronoshiftError
impl Clone for ChronoshiftError
Source§fn clone(&self) -> ChronoshiftError
fn clone(&self) -> ChronoshiftError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChronoshiftError
impl Debug for ChronoshiftError
Source§impl<'de> Deserialize<'de> for ChronoshiftError
impl<'de> Deserialize<'de> for ChronoshiftError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ChronoshiftError
impl Display for ChronoshiftError
Source§impl PartialEq for ChronoshiftError
impl PartialEq for ChronoshiftError
Source§impl Serialize for ChronoshiftError
impl Serialize for ChronoshiftError
impl StructuralPartialEq for ChronoshiftError
Auto Trait Implementations§
impl Freeze for ChronoshiftError
impl RefUnwindSafe for ChronoshiftError
impl Send for ChronoshiftError
impl Sync for ChronoshiftError
impl Unpin for ChronoshiftError
impl UnsafeUnpin for ChronoshiftError
impl UnwindSafe for ChronoshiftError
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