pub struct DebugStatus {
pub connected: bool,
pub pid: Option<i64>,
pub serial: Option<String>,
pub backend: Option<String>,
}Expand description
Result of a debug status query.
Fields§
§connected: boolWhether a gdbserver/daemon is currently running for this probe.
pid: Option<i64>Backend process id, when connected.
serial: Option<String>Probe serial.
backend: Option<String>Debug backend ("jlink" or "openocd").
Trait Implementations§
Source§impl Clone for DebugStatus
impl Clone for DebugStatus
Source§fn clone(&self) -> DebugStatus
fn clone(&self) -> DebugStatus
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 DebugStatus
impl Debug for DebugStatus
Source§impl<'de> Deserialize<'de> for DebugStatus
impl<'de> Deserialize<'de> for DebugStatus
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 DebugStatus
impl RefUnwindSafe for DebugStatus
impl Send for DebugStatus
impl Sync for DebugStatus
impl Unpin for DebugStatus
impl UnsafeUnpin for DebugStatus
impl UnwindSafe for DebugStatus
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