Enum probe_rs_rtt::Error
source · pub enum Error {
ControlBlockNotFound,
MultipleControlBlocksFound(Vec<u32>),
ControlBlockCorrupted(String),
IncorrectCoreSpecified(usize, usize),
Probe(Error),
MemoryRead(String),
}
Expand description
Error type for RTT operations.
Variants§
ControlBlockNotFound
RTT control block not found in target memory. Make sure RTT is initialized on the target.
MultipleControlBlocksFound(Vec<u32>)
Multiple control blocks found in target memory. The data contains the control block addresses (up to 5).
ControlBlockCorrupted(String)
The control block has been corrupted. The data contains a detailed error.
IncorrectCoreSpecified(usize, usize)
Attempted an RTT read/write operation against a Core number that is different from the Core number against which RTT was initialized
Probe(Error)
Wraps errors propagated up from probe-rs.
MemoryRead(String)
Wraps errors propagated up from reading memory on the target.
Trait Implementations§
source§impl Error for Error
impl Error for Error
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()