Enum probe_rs::architecture::arm::dp::DebugPortError
source · pub enum DebugPortError {
UnsupportedRegister {
register: &'static str,
version: DebugPortVersion,
},
RegisterParse(RegisterParseError),
DebugProbe(DebugProbeError),
Timeout,
TargetPowerUpFailed,
Unsupported(String),
Dap(DapError),
}
Expand description
An error occurred when interacting with the debug port.
Variants§
UnsupportedRegister
Fields
§
version: DebugPortVersion
The version of the operated debug port.
The accessed register is not supported on this debug port.
RegisterParse(RegisterParseError)
Error parsing a register value.
DebugProbe(DebugProbeError)
An error with operating the debug probe occurred.
Timeout
A timeout occured.
TargetPowerUpFailed
Powerup of the target device failed.
Unsupported(String)
The debug port is not supported.
Dap(DapError)
An error occured in the communication with an access port or debug port.
Trait Implementations§
source§impl Debug for DebugPortError
impl Debug for DebugPortError
source§impl Display for DebugPortError
impl Display for DebugPortError
source§impl Error for DebugPortError
impl Error for DebugPortError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DapError> for DebugPortError
impl From<DapError> for DebugPortError
source§impl From<DebugPortError> for AccessPortError
impl From<DebugPortError> for AccessPortError
source§fn from(source: DebugPortError) -> Self
fn from(source: DebugPortError) -> Self
Converts to this type from the input type.
source§impl From<DebugPortError> for ArmError
impl From<DebugPortError> for ArmError
source§fn from(source: DebugPortError) -> Self
fn from(source: DebugPortError) -> Self
Converts to this type from the input type.
source§impl From<DebugProbeError> for DebugPortError
impl From<DebugProbeError> for DebugPortError
source§fn from(source: DebugProbeError) -> Self
fn from(source: DebugProbeError) -> Self
Converts to this type from the input type.