#[non_exhaustive]pub enum ExpectationName {
Show 15 variants
Outcome,
CaseState,
WorkflowState,
CaseCount,
Acts,
TargetResolution,
Commands,
ForbiddenCommand,
Events,
ForbiddenEvent,
TruncatedLedger,
CaseRevision,
InteractionStatus,
ResponseBlocks,
TurnPhase,
}Expand description
Which of the §27.6 expectations a failure belongs to.
The report groups by this, and the reliability categories of §26.3 are derived from it, so a forbidden command that appeared is never averaged into a language score.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Outcome
The turn completed, or failed, as the item said it would.
CaseState
What a case’s state holds, or still holds, afterwards.
WorkflowState
What some case of a workflow holds afterwards.
CaseCount
How many cases of a workflow exist afterwards.
Acts
The acts the message was understood to ask for.
TargetResolution
How an act’s target resolved.
Commands
The commands that were compiled and journaled.
ForbiddenCommand
A command that must not appear, and did.
Events
The events that were committed.
ForbiddenEvent
An event that must not appear, and did.
TruncatedLedger
The event ledger was read under a configured bound and cut short, so nothing this item claims about events was actually checked against the whole of it.
CaseRevision
The revision a case ended at.
InteractionStatus
The status of a case’s cards.
ResponseBlocks
The kinds of response block.
TurnPhase
The phase the turn finished in.
Implementations§
Trait Implementations§
Source§impl Clone for ExpectationName
impl Clone for ExpectationName
impl Copy for ExpectationName
Source§impl Debug for ExpectationName
impl Debug for ExpectationName
Source§impl<'de> Deserialize<'de> for ExpectationName
impl<'de> Deserialize<'de> for ExpectationName
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>,
Source§impl Display for ExpectationName
impl Display for ExpectationName
impl Eq for ExpectationName
Source§impl Hash for ExpectationName
impl Hash for ExpectationName
Source§impl Ord for ExpectationName
impl Ord for ExpectationName
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ExpectationName
impl PartialEq for ExpectationName
Source§impl PartialOrd for ExpectationName
impl PartialOrd for ExpectationName
Source§impl Serialize for ExpectationName
impl Serialize for ExpectationName
impl StructuralPartialEq for ExpectationName
Auto Trait Implementations§
impl Freeze for ExpectationName
impl RefUnwindSafe for ExpectationName
impl Send for ExpectationName
impl Sync for ExpectationName
impl Unpin for ExpectationName
impl UnsafeUnpin for ExpectationName
impl UnwindSafe for ExpectationName
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.