pub enum Outcome {
Running,
Ok,
Refused,
Failed,
}Expand description
How a call ended, which is what the row’s glyph says — the same four marks the full-screen
interface uses (⏺, ✓, ⊘, ✗).
The live run knows this from the tool’s own is_error; a stored session only has the result
text, because the message that carries it has no such field and must not grow one (that shape
belongs to the model). So the inference lives here, once, next to the statement — a rule in the
page would be a rule no test in this repository can check.
Variants§
Running
Still running: no result yet, or a session that ended mid-call.
Ok
Refused
Nothing broke; someone said no. The interface gives it its own mark because a refusal is not a failure.
Failed
Implementations§
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Forget for Outcome
impl Freeze for Outcome
impl Move for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.