Trait probe_rs::CommunicationInterface
source · [−]pub trait CommunicationInterface {
fn flush(&mut self) -> Result<(), DebugProbeError>;
fn get_arm_communication_interface(
&mut self
) -> Result<&mut ArmCommunicationInterface<Initialized>, Error>;
}
Expand description
A helper trait to get more specific interfaces.
Required Methods
fn flush(&mut self) -> Result<(), DebugProbeError>
fn flush(&mut self) -> Result<(), DebugProbeError>
Flush all remaining commands if the target driver implements batching.
fn get_arm_communication_interface(
&mut self
) -> Result<&mut ArmCommunicationInterface<Initialized>, Error>
fn get_arm_communication_interface(
&mut self
) -> Result<&mut ArmCommunicationInterface<Initialized>, Error>
Tries to get the underlying ArmCommunicationInterface
.