DebugTarget

Trait DebugTarget 

Source
pub trait DebugTarget<'a, Target> {
    type WatchTarget;
    type BreakCondition;

    // Required methods
    fn attach(_: &'a mut Target) -> Self;
    fn single_step(&mut self) -> Result<(), String>;
    fn run(&mut self) -> RunResult;
    fn add_watch(&mut self, _: Self::WatchTarget) -> Result<(), String>;
    fn add_break_condition(
        &mut self,
        _: Self::BreakCondition,
    ) -> Result<(), String>;
}

Required Associated Types§

Required Methods§

Source

fn attach(_: &'a mut Target) -> Self

Source

fn single_step(&mut self) -> Result<(), String>

Source

fn run(&mut self) -> RunResult

Source

fn add_watch(&mut self, _: Self::WatchTarget) -> Result<(), String>

Source

fn add_break_condition(&mut self, _: Self::BreakCondition) -> Result<(), String>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§