pub enum ChainEvent {
CycleDetected {
stage: StageId,
},
MaxHopsExceeded {
stage: StageId,
},
}Expand description
Condition that ended a successor-chain walk without finding a non-deprecated stage.
Variants§
CycleDetected
Chain contained a cycle. stage is the id we revisited.
Rewrites up to the cycle point are still applied; execution
continues with the last distinct id before the loop.
MaxHopsExceeded
Chain was longer than MAX_DEPRECATION_HOPS. Execution
continues with whatever id the walker reached at the cap.
Trait Implementations§
Source§impl Clone for ChainEvent
impl Clone for ChainEvent
Source§fn clone(&self) -> ChainEvent
fn clone(&self) -> ChainEvent
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 ChainEvent
impl Debug for ChainEvent
Source§impl PartialEq for ChainEvent
impl PartialEq for ChainEvent
impl Eq for ChainEvent
impl StructuralPartialEq for ChainEvent
Auto Trait Implementations§
impl Freeze for ChainEvent
impl RefUnwindSafe for ChainEvent
impl Send for ChainEvent
impl Sync for ChainEvent
impl Unpin for ChainEvent
impl UnsafeUnpin for ChainEvent
impl UnwindSafe for ChainEvent
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