pub enum TraceError {
UnsupportedEdge(&'static str),
UnassignedRead(LocalVarId),
EndWithoutBegin(FirstMatchId),
BeginWhileOpen(FirstMatchId),
MatchedWithoutClocks,
NestedMatched,
BadClocks,
BadTimeline,
NotASequence,
}Expand description
An automaton shape this interpreter refuses to run, never a guess.
Variants§
UnsupportedEdge(&'static str)
An edge kind with no meaning outside the full engine (abort edges
belong to T20 and later; the local-variable edges are only interpreted
by attempt_with_locals, which has a frame to run them on).
UnassignedRead(LocalVarId)
A leaf read local variable var while it was unassigned (16.10): the
builder rejects every read it can prove unassigned, so this is a
malformed automaton or an evaluator reading a slot it was not given.
EndWithoutBegin(FirstMatchId)
A Transition::FirstMatchEnd reached by a thread that never took the
group’s Transition::FirstMatchBegin: a malformed automaton.
BeginWhileOpen(FirstMatchId)
A Transition::FirstMatchBegin reached while the group is already
open on the same thread: a malformed automaton (a region cannot
contain itself).
MatchedWithoutClocks
A .matched end point run without a clock model: its status depends on
the two clocks’ tick times, which only attempt_with_clocks has.
NestedMatched
A .matched end point inside an instance that is itself being run in
another clock’s tick space: the model has one destination and one source
clock, so a third is refused rather than guessed.
BadClocks
The clock model’s tick times are not strictly increasing.
BadTimeline
A Timeline’s tick list is not strictly increasing, or names a step at
or past the trace’s real length.
NotASequence
crate::sva::property::Evaluator::root_sequence_matches on a property
whose root is not a bare sequence (a cover sequence always has one).
Trait Implementations§
Source§impl Clone for TraceError
impl Clone for TraceError
Source§impl Debug for TraceError
impl Debug for TraceError
Source§impl Display for TraceError
impl Display for TraceError
impl Eq for TraceError
Source§impl Error for TraceError
impl Error for TraceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for TraceError
impl PartialEq for TraceError
impl StructuralPartialEq for TraceError
Auto Trait Implementations§
impl Freeze for TraceError
impl RefUnwindSafe for TraceError
impl Send for TraceError
impl Sync for TraceError
impl Unpin for TraceError
impl UnsafeUnpin for TraceError
impl UnwindSafe for TraceError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
key and return true if they are equal.