Open a new session with a given debug target
pub fn auto_attach(target: impl Into<TargetSelector>) -> Result<Session, Error>[src]
Automatically creates a session with the first connected probe found.
Lists the available cores with their number and their type.
Attaches to the core with the given number.
pub fn memory_map(&self) -> &[MemoryRegion][src]
Returns the memory map of the target.
pub fn architecture(&self) -> Architecture[src]
Architecture of the currently connected chip.
impl !RefUnwindSafe for Session
impl !UnwindSafe for Session
type Error = Infallible
The type returned in the event of a conversion error.