pub enum SimulatedOutcome {
WouldSucceed,
WouldFail {
reason: String,
},
WouldSkip {
reason: String,
},
Unreachable,
Blocked {
failed_dependency: NodeId,
},
}Expand description
Outcome of a simulated node execution.
Variants§
WouldSucceed
Node would execute successfully.
WouldFail
Node would fail.
WouldSkip
Node would be skipped due to unsatisfied conditions.
Unreachable
Node not reachable from root nodes.
Blocked
Node blocked because a dependency failed and continue_on_failure is false.
Trait Implementations§
Source§impl Clone for SimulatedOutcome
impl Clone for SimulatedOutcome
Source§fn clone(&self) -> SimulatedOutcome
fn clone(&self) -> SimulatedOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimulatedOutcome
impl Debug for SimulatedOutcome
Source§impl<'de> Deserialize<'de> for SimulatedOutcome
impl<'de> Deserialize<'de> for SimulatedOutcome
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 SimulatedOutcome
Source§impl PartialEq for SimulatedOutcome
impl PartialEq for SimulatedOutcome
Source§impl Serialize for SimulatedOutcome
impl Serialize for SimulatedOutcome
impl StructuralPartialEq for SimulatedOutcome
Auto Trait Implementations§
impl Freeze for SimulatedOutcome
impl RefUnwindSafe for SimulatedOutcome
impl Send for SimulatedOutcome
impl Sync for SimulatedOutcome
impl Unpin for SimulatedOutcome
impl UnsafeUnpin for SimulatedOutcome
impl UnwindSafe for SimulatedOutcome
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§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.