[−][src]Trait debug_probe::debug_probe::DebugProbe
Required methods
fn new_from_probe_info(
info: &DebugProbeInfo
) -> Result<Box<Self>, DebugProbeError> where
Self: Sized,
info: &DebugProbeInfo
) -> Result<Box<Self>, DebugProbeError> where
Self: Sized,
fn get_name(&self) -> &str
Get human readable name for the probe
fn attach(
&mut self,
protocol: Option<WireProtocol>
) -> Result<WireProtocol, DebugProbeError>
&mut self,
protocol: Option<WireProtocol>
) -> Result<WireProtocol, DebugProbeError>
Enters debug mode
fn detach(&mut self) -> Result<(), DebugProbeError>
Leave debug mode
fn target_reset(&mut self) -> Result<(), DebugProbeError>
Resets the target device.
Implementors
impl DebugProbe for FakeProbe
[src]
fn new_from_probe_info(
info: &DebugProbeInfo
) -> Result<Box<Self>, DebugProbeError> where
Self: Sized,
[src]
info: &DebugProbeInfo
) -> Result<Box<Self>, DebugProbeError> where
Self: Sized,
fn get_name(&self) -> &str
[src]
Get human readable name for the probe
fn attach(
&mut self,
protocol: Option<WireProtocol>
) -> Result<WireProtocol, DebugProbeError>
[src]
&mut self,
protocol: Option<WireProtocol>
) -> Result<WireProtocol, DebugProbeError>
Enters debug mode
fn detach(&mut self) -> Result<(), DebugProbeError>
[src]
Leave debug mode
fn target_reset(&mut self) -> Result<(), DebugProbeError>
[src]
Resets the target device.