#[non_exhaustive]pub enum OutcomeStatus {
Success,
Blocked,
Unknown,
FalsePositive,
NeedsReview,
ConfirmedNegative,
}Expand description
Final classification emitted by a verifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Success
The verifier’s success condition was satisfied.
Whether that success may transition the associated hypothesis is an orchestration policy carried outside this core outcome value.
Blocked
Verification could not proceed because the target or a control blocked it.
Unknown
Current evidence cannot support a deterministic conclusion.
FalsePositive
Verification rejected the hypothesis.
NeedsReview
Conflicting or incomplete evidence requires a human decision.
ConfirmedNegative
An audited negative control explicitly disproved the hypothesis.
Unlike FalsePositive, this records a trusted negative result rather
than a verifier rejecting the provenance or interpretation of a prior
finding.
Implementations§
Source§impl OutcomeStatus
impl OutcomeStatus
Sourcepub const fn is_terminal(self) -> bool
pub const fn is_terminal(self) -> bool
Returns whether the verification pipeline should stop at this status.
Sourcepub const fn hypothesis_state(self) -> Option<HypothesisState>
pub const fn hypothesis_state(self) -> Option<HypothesisState>
Returns the candidate verifier-owned hypothesis transition state associated with this status.
Verification-case and orchestration policy decide whether that candidate state is actually applied.
Trait Implementations§
Source§impl Clone for OutcomeStatus
impl Clone for OutcomeStatus
Source§fn clone(&self) -> OutcomeStatus
fn clone(&self) -> OutcomeStatus
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 OutcomeStatus
Source§impl Debug for OutcomeStatus
impl Debug for OutcomeStatus
Source§impl<'de> Deserialize<'de> for OutcomeStatus
impl<'de> Deserialize<'de> for OutcomeStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutcomeStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutcomeStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for OutcomeStatus
Source§impl Hash for OutcomeStatus
impl Hash for OutcomeStatus
Source§impl Ord for OutcomeStatus
impl Ord for OutcomeStatus
Source§fn cmp(&self, other: &OutcomeStatus) -> Ordering
fn cmp(&self, other: &OutcomeStatus) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for OutcomeStatus
impl PartialEq for OutcomeStatus
Source§impl PartialOrd for OutcomeStatus
impl PartialOrd for OutcomeStatus
Source§impl Serialize for OutcomeStatus
impl Serialize for OutcomeStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for OutcomeStatus
Auto Trait Implementations§
impl Freeze for OutcomeStatus
impl RefUnwindSafe for OutcomeStatus
impl Send for OutcomeStatus
impl Sync for OutcomeStatus
impl Unpin for OutcomeStatus
impl UnsafeUnpin for OutcomeStatus
impl UnwindSafe for OutcomeStatus
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.