pub enum SemanticReplayReasonCode {
EquivalenceMatchApproved,
LowConfidenceDenied,
NoEquivalenceClassMatch,
EquivalenceClassNotAllowed,
UnknownFailClosed,
}Expand description
Reason code explaining the outcome of a semantic replay evaluation.
Variants§
EquivalenceMatchApproved
Task matched a known equivalence class and replay is permitted.
LowConfidenceDenied
Task is in an approved class but confidence is below the minimum threshold.
NoEquivalenceClassMatch
Task did not match any approved semantic equivalence class.
EquivalenceClassNotAllowed
Replay was not permitted because the equivalence class is not on the allowed list for the current risk tier.
UnknownFailClosed
Semantic evaluation failed with an unexpected state; fail closed.
Trait Implementations§
Source§impl Clone for SemanticReplayReasonCode
impl Clone for SemanticReplayReasonCode
Source§fn clone(&self) -> SemanticReplayReasonCode
fn clone(&self) -> SemanticReplayReasonCode
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 SemanticReplayReasonCode
impl Debug for SemanticReplayReasonCode
Source§impl<'de> Deserialize<'de> for SemanticReplayReasonCode
impl<'de> Deserialize<'de> for SemanticReplayReasonCode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticReplayReasonCode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticReplayReasonCode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SemanticReplayReasonCode
impl PartialEq for SemanticReplayReasonCode
Source§impl Serialize for SemanticReplayReasonCode
impl Serialize for SemanticReplayReasonCode
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,
Serialize this value into the given Serde serializer. Read more
impl Copy for SemanticReplayReasonCode
impl Eq for SemanticReplayReasonCode
impl StructuralPartialEq for SemanticReplayReasonCode
Auto Trait Implementations§
impl Freeze for SemanticReplayReasonCode
impl RefUnwindSafe for SemanticReplayReasonCode
impl Send for SemanticReplayReasonCode
impl Sync for SemanticReplayReasonCode
impl Unpin for SemanticReplayReasonCode
impl UnsafeUnpin for SemanticReplayReasonCode
impl UnwindSafe for SemanticReplayReasonCode
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
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§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
Compare self to
key and return true if they are equal.