[][src]Struct arduino_cli_client::debug::DebugReq

pub struct DebugReq {
    pub debug_req: Option<DebugConfigReq>,
    pub data: Vec<u8>,
    pub send_interrupt: bool,
}

The top-level message sent by the client for the Debug method. Multiple DebugReq messages can be sent but the first message must contain a DebugConfigReq message to initialize the debug session. All subsequent messages must contain bytes to be sent to the debug session and must not contain a DebugReq message.

Content must be either a debug session config or data to be sent.

Fields

debug_req: Option<DebugConfigReq>

Provides information to the debug that specifies which is the target. The first StreamingOpenReq message must contain a DebugReq message.

data: Vec<u8>

The data to be sent to the target being monitored.

send_interrupt: bool

Set this to true to send and Interrupt signal to the debugger process

Trait Implementations

impl Clone for DebugReq[src]

impl Debug for DebugReq[src]

impl Default for DebugReq[src]

impl Message for DebugReq[src]

impl PartialEq<DebugReq> for DebugReq[src]

impl StructuralPartialEq for DebugReq[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]