pub enum DecisionOutcome {
Success,
Failure,
Cancelled,
}Expand description
How a decided action turned out, filled in when the affected operation
completes. None on the wire until then — decisions and outcomes are
recorded separately so in-flight decisions are visible.
Variants§
Success
The selected action led to completion.
Failure
The selected action did not lead to completion.
Cancelled
The run was cancelled or superseded before the outcome materialized.
Trait Implementations§
Source§impl Clone for DecisionOutcome
impl Clone for DecisionOutcome
impl Copy for DecisionOutcome
Source§impl Debug for DecisionOutcome
impl Debug for DecisionOutcome
Source§impl<'de> Deserialize<'de> for DecisionOutcome
impl<'de> Deserialize<'de> for DecisionOutcome
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 DecisionOutcome
Source§impl Hash for DecisionOutcome
impl Hash for DecisionOutcome
Source§impl PartialEq for DecisionOutcome
impl PartialEq for DecisionOutcome
Source§impl Serialize for DecisionOutcome
impl Serialize for DecisionOutcome
impl StructuralPartialEq for DecisionOutcome
Auto Trait Implementations§
impl Freeze for DecisionOutcome
impl RefUnwindSafe for DecisionOutcome
impl Send for DecisionOutcome
impl Sync for DecisionOutcome
impl Unpin for DecisionOutcome
impl UnsafeUnpin for DecisionOutcome
impl UnwindSafe for DecisionOutcome
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