pub enum ShadowRunOutcome {
Completed,
Failed {
error: String,
},
}Expand description
How a shadow run ended.
Variants§
Completed
The graph ran to completion behind the shadow boundary.
Failed
The run failed — a graph error, not an admission refusal (refusals are the shadow’s normal path, journaled as they happen). The verdict still journals: a failed shadow is evidence about the candidate, not a run to sweep away.
Trait Implementations§
Source§impl Clone for ShadowRunOutcome
impl Clone for ShadowRunOutcome
Source§impl Debug for ShadowRunOutcome
impl Debug for ShadowRunOutcome
Source§impl<'de> Deserialize<'de> for ShadowRunOutcome
impl<'de> Deserialize<'de> for ShadowRunOutcome
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
Source§impl PartialEq for ShadowRunOutcome
impl PartialEq for ShadowRunOutcome
Source§impl Serialize for ShadowRunOutcome
impl Serialize for ShadowRunOutcome
impl StructuralPartialEq for ShadowRunOutcome
Auto Trait Implementations§
impl Freeze for ShadowRunOutcome
impl RefUnwindSafe for ShadowRunOutcome
impl Send for ShadowRunOutcome
impl Sync for ShadowRunOutcome
impl Unpin for ShadowRunOutcome
impl UnsafeUnpin for ShadowRunOutcome
impl UnwindSafe for ShadowRunOutcome
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