pub trait BreakpointPatchableProgram<K> {
type Instruction: HasBreakpointInstruction;
// Required methods
fn install_breakpoint(
&mut self,
index: &K,
) -> IsBreakpointInstalled<Self::Instruction>;
fn uninstall_breakpoint(
&mut self,
index: &K,
displaced: Self::Instruction,
) -> IsBreakpointInstalled;
}Required Associated Types§
Required Methods§
fn install_breakpoint( &mut self, index: &K, ) -> IsBreakpointInstalled<Self::Instruction>
Sourcefn uninstall_breakpoint(
&mut self,
index: &K,
displaced: Self::Instruction,
) -> IsBreakpointInstalled
fn uninstall_breakpoint( &mut self, index: &K, displaced: Self::Instruction, ) -> IsBreakpointInstalled
Restore the instruction displaced by a breakpoint.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".