pub struct DebugRunOutcome {
pub reason: DebugStopReason,
pub position: Option<DebugPosition>,
pub depth: usize,
}Expand description
The result of a debug_run/debug_step* call: why it stopped, the
resulting position (mirrors DebugPosition semantics — None for a
frame with an empty container stack, e.g. after a terminal step, or a
parked/External-frame position; see debug.rs’s own doc), and the
resulting call-stack depth (the innermost thread’s frame count) at the
moment execution stopped.
Fields§
§reason: DebugStopReason§position: Option<DebugPosition>§depth: usizeTrait Implementations§
Source§impl Clone for DebugRunOutcome
impl Clone for DebugRunOutcome
Source§fn clone(&self) -> DebugRunOutcome
fn clone(&self) -> DebugRunOutcome
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 DebugRunOutcome
impl Debug for DebugRunOutcome
impl Eq for DebugRunOutcome
Source§impl PartialEq for DebugRunOutcome
impl PartialEq for DebugRunOutcome
impl StructuralPartialEq for DebugRunOutcome
Auto Trait Implementations§
impl Freeze for DebugRunOutcome
impl RefUnwindSafe for DebugRunOutcome
impl Send for DebugRunOutcome
impl Sync for DebugRunOutcome
impl Unpin for DebugRunOutcome
impl UnsafeUnpin for DebugRunOutcome
impl UnwindSafe for DebugRunOutcome
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