pub struct DebugConnection {
pub status: Option<String>,
pub device: Option<String>,
pub probe: Option<String>,
pub serial: Option<String>,
pub backend: Option<String>,
pub message: Option<String>,
pub pid: Option<i64>,
pub gdb_server: Option<GdbServer>,
}Expand description
Result of a debug connect.
Fields§
§status: Option<String>Connection status, e.g. "connected".
device: Option<String>Resolved device/target type.
probe: Option<String>Probe instrument name.
serial: Option<String>Probe serial.
backend: Option<String>Debug backend that started ("jlink" or "openocd").
message: Option<String>Human-readable message.
pid: Option<i64>Backend process id.
gdb_server: Option<GdbServer>GDB-server details, if a server was started.
Trait Implementations§
Source§impl Clone for DebugConnection
impl Clone for DebugConnection
Source§fn clone(&self) -> DebugConnection
fn clone(&self) -> DebugConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugConnection
impl Debug for DebugConnection
Source§impl<'de> Deserialize<'de> for DebugConnection
impl<'de> Deserialize<'de> for DebugConnection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DebugConnection
impl RefUnwindSafe for DebugConnection
impl Send for DebugConnection
impl Sync for DebugConnection
impl Unpin for DebugConnection
impl UnsafeUnpin for DebugConnection
impl UnwindSafe for DebugConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more