Enum probe_rs::architecture::arm::dp::DebugPortError
source · [−]pub enum DebugPortError {
UnsupportedRegister {
register: &'static str,
version: DebugPortVersion,
},
DebugProbe(DebugProbeError),
}
Expand description
An error occurred when interacting with the debug port.
Variants
UnsupportedRegister
Fields
register: &'static str
The name of the register that was accessed.
version: DebugPortVersion
The version of the operated debug port.
The accessed register is not supported on this debug port.
DebugProbe(DebugProbeError)
An error with operating the debug probe occurred.
Trait Implementations
sourceimpl Debug for DebugPortError
impl Debug for DebugPortError
sourceimpl Display for DebugPortError
impl Display for DebugPortError
sourceimpl Error for DebugPortError
impl Error for DebugPortError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<DebugPortError> for AccessPortError
impl From<DebugPortError> for AccessPortError
sourcefn from(source: DebugPortError) -> Self
fn from(source: DebugPortError) -> Self
Converts to this type from the input type.
sourceimpl From<DebugPortError> for DebugProbeError
impl From<DebugPortError> for DebugProbeError
sourcefn from(error: DebugPortError) -> Self
fn from(error: DebugPortError) -> Self
Converts to this type from the input type.
sourceimpl From<DebugProbeError> for DebugPortError
impl From<DebugProbeError> for DebugPortError
sourcefn from(source: DebugProbeError) -> Self
fn from(source: DebugProbeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for DebugPortError
impl Send for DebugPortError
impl Sync for DebugPortError
impl Unpin for DebugPortError
impl !UnwindSafe for DebugPortError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more