pub enum GcDebuggerRunOutcome {
Ok {
result: String,
stdout: String,
hits: Vec<DebuggerHit>,
dropped_hits: usize,
},
Error {
error: GcClassifiedRunError,
stdout: String,
hits: Vec<DebuggerHit>,
dropped_hits: usize,
},
}Expand description
Outcome of a debugger run. Unlike the report API this is not a Result:
hits recorded before a runtime failure are part of the story the debugger
tells, so the error arm carries them too.
Variants§
Trait Implementations§
Source§impl Clone for GcDebuggerRunOutcome
impl Clone for GcDebuggerRunOutcome
Source§fn clone(&self) -> GcDebuggerRunOutcome
fn clone(&self) -> GcDebuggerRunOutcome
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 GcDebuggerRunOutcome
impl Debug for GcDebuggerRunOutcome
impl Eq for GcDebuggerRunOutcome
Source§impl PartialEq for GcDebuggerRunOutcome
impl PartialEq for GcDebuggerRunOutcome
Source§impl Serialize for GcDebuggerRunOutcome
impl Serialize for GcDebuggerRunOutcome
impl StructuralPartialEq for GcDebuggerRunOutcome
Auto Trait Implementations§
impl Freeze for GcDebuggerRunOutcome
impl RefUnwindSafe for GcDebuggerRunOutcome
impl Send for GcDebuggerRunOutcome
impl Sync for GcDebuggerRunOutcome
impl Unpin for GcDebuggerRunOutcome
impl UnsafeUnpin for GcDebuggerRunOutcome
impl UnwindSafe for GcDebuggerRunOutcome
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