#[non_exhaustive]pub enum Step {
Show 13 variants
Reading {
words: usize,
},
Segmented {
analysis: String,
units: Vec<UnitSummary>,
},
Covered {
added: Vec<UnitSummary>,
},
CrossChecked {
round: u8,
findings: usize,
},
CrossCheckSkipped {
round: u8,
code: String,
},
Routed {
unit: UnitId,
to: Routing,
},
Located {
act: ActId,
record: Located,
},
Extracted {
act: ActId,
given: Vec<(String, String)>,
not_given: Vec<String>,
},
Verified {
act: ActId,
confirmed: bool,
reason: String,
at_fault: Vec<String>,
},
Repairing {
act: ActId,
because: String,
},
Checked {
act: ActId,
refused: Option<(String, String)>,
},
NotUnderstood {
unit: UnitId,
reason: NotUnderstoodReason,
},
Assembled {
ready: Vec<ActId>,
asking: Vec<ActId>,
held: Vec<ActId>,
questions: usize,
},
}Expand description
One thing the understanding decided.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Reading
The message is being read.
Segmented
The message was split into units.
Fields
§
units: Vec<UnitSummary>Each unit: its id, kind and words.
Covered
The coverage check added units the segmentation missed.
Fields
§
added: Vec<UnitSummary>The units added.
CrossChecked
A round of the whole-turn check answered.
CrossCheckSkipped
A round of the whole-turn check did not run, or gave no answer to use.
Routed
A unit was routed.
Located
An act’s record was decided.
Extracted
An act’s arguments were read.
Fields
Verified
An act was verified against the user’s words.
Fields
Repairing
An act’s values are being read again, with feedback.
Checked
The domain checked an act.
Fields
NotUnderstood
A unit produced nothing to act on.
Assembled
The understanding is assembled.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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
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,
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
Compare self to
key and return true if they are equal.