pub struct WcetHintsOutcome {
pub resolved: Vec<WcetResolvedHint>,
pub diagnostics: Vec<WcetHintKeyDiagnostic>,
}Expand description
(#1063 increment 2) The top-level hints object of the sidecar: the
machine-readable outcome of --wcet-hints resolution. Present in the
sidecar IFF a hints file was passed, so a consumer can tell apart
(a) no hints file (object absent), (b) hints consumed (resolved
non-empty), and (c) hints supplied but ALL refused before reaching any
function (resolved empty, diagnostics non-empty) — three states that
were previously identical in the JSON (and to $?: the compile exits 0 in
all three). Additive to synth-wcet-v1: absent for every compile without
--wcet-hints, so existing sidecars are byte-identical and a consumer that
ignores unknown fields is unaffected.
Fields§
§resolved: Vec<WcetResolvedHint>One entry per hints-file key that resolved to a function.
diagnostics: Vec<WcetHintKeyDiagnostic>One entry per hints-file key that was NOT consumed (never reached a
verifier). Merits-level rejections stay per-function
(hint_rejections); this array is only the keys that never got there.
Trait Implementations§
Source§impl Clone for WcetHintsOutcome
impl Clone for WcetHintsOutcome
Source§fn clone(&self) -> WcetHintsOutcome
fn clone(&self) -> WcetHintsOutcome
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WcetHintsOutcome
impl Debug for WcetHintsOutcome
Source§impl Default for WcetHintsOutcome
impl Default for WcetHintsOutcome
Source§fn default() -> WcetHintsOutcome
fn default() -> WcetHintsOutcome
Source§impl<'de> Deserialize<'de> for WcetHintsOutcome
impl<'de> Deserialize<'de> for WcetHintsOutcome
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 WcetHintsOutcome
Source§impl PartialEq for WcetHintsOutcome
impl PartialEq for WcetHintsOutcome
Source§impl Serialize for WcetHintsOutcome
impl Serialize for WcetHintsOutcome
impl StructuralPartialEq for WcetHintsOutcome
Auto Trait Implementations§
impl Freeze for WcetHintsOutcome
impl RefUnwindSafe for WcetHintsOutcome
impl Send for WcetHintsOutcome
impl Sync for WcetHintsOutcome
impl Unpin for WcetHintsOutcome
impl UnsafeUnpin for WcetHintsOutcome
impl UnwindSafe for WcetHintsOutcome
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.