pub enum OwnWork {
Did(Arc<str>),
Refused(Arc<str>),
CouldNotAct(Arc<str>),
}Expand description
What a step Repon performed itself came to, in Repon’s own words
(docs/spec/actions.md’s
“Why the set grew from four to five”): three grades, matched exhaustively wherever a
StepOutcome::OwnWork is opened.
Words rather than a code, because Repon knows what it did and can say so, where an exit
code is a number only a child process could have produced. The sentence is the consumer’s
to author, the same standing ActionReceipt::label and StepResult::label already
have.
Variants§
Did(Arc<str>)
Repon did the work, and this is what it did.
Refused(Arc<str>)
Repon would not act, and this is why. Not a failure: nothing went wrong, so it never
widens the row summary fold, for the same reason Cancelled does not.
CouldNotAct(Arc<str>)
Repon tried and could not finish, and this is what stopped it. The one grade that is a failure.
Implementations§
Trait Implementations§
impl Eq for OwnWork
impl StructuralPartialEq for OwnWork
Auto Trait Implementations§
impl Freeze for OwnWork
impl RefUnwindSafe for OwnWork
impl Send for OwnWork
impl Sync for OwnWork
impl Unpin for OwnWork
impl UnsafeUnpin for OwnWork
impl UnwindSafe for OwnWork
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
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more