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§
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>
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.