pub enum WcetHintKeyReason {
Duplicate,
Ambiguous,
IndexRefused,
Unknown,
SkippedFunction,
}Expand description
(#1063 increment 2) The machine reason tag for a --wcet-hints entry that
never reached a per-loop/recursion verifier. Serialized as the SAME tag the
stderr warning names, so the human and the machine read one vocabulary.
(Distinct from WcetHintRejection, which records a hint that DID reach a
function’s verifier and was rejected on the merits.)
Variants§
Duplicate
Two hints-file entries addressed the same function; the later one (in key order) was not consumed.
Ambiguous
The key is accepted by more than one function in this module.
IndexRefused
An index key (func_<idx>) for a function that carries a real name —
refused by design; an index is not an identity (#1063).
Unknown
The key names no function in this module.
SkippedFunction
The key resolved, but the function was skipped by the backend and is not in the output object, so the hint never reached a verifier.
Trait Implementations§
Source§impl Clone for WcetHintKeyReason
impl Clone for WcetHintKeyReason
Source§fn clone(&self) -> WcetHintKeyReason
fn clone(&self) -> WcetHintKeyReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for WcetHintKeyReason
Source§impl Debug for WcetHintKeyReason
impl Debug for WcetHintKeyReason
Source§impl<'de> Deserialize<'de> for WcetHintKeyReason
impl<'de> Deserialize<'de> for WcetHintKeyReason
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>,
impl Eq for WcetHintKeyReason
Source§impl PartialEq for WcetHintKeyReason
impl PartialEq for WcetHintKeyReason
Source§impl Serialize for WcetHintKeyReason
impl Serialize for WcetHintKeyReason
impl StructuralPartialEq for WcetHintKeyReason
Auto Trait Implementations§
impl Freeze for WcetHintKeyReason
impl RefUnwindSafe for WcetHintKeyReason
impl Send for WcetHintKeyReason
impl Sync for WcetHintKeyReason
impl Unpin for WcetHintKeyReason
impl UnsafeUnpin for WcetHintKeyReason
impl UnwindSafe for WcetHintKeyReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.