pub struct RttActiveTarget {
    pub active_channels: Vec<RttActiveChannel>,
    pub defmt_state: Option<(Table, Option<Locations>)>,
}
Expand description

Once an active connection with the Target RTT control block has been established, we configure each of the active channels, and hold essential state information for successfull communication.

Fields

active_channels: Vec<RttActiveChannel>defmt_state: Option<(Table, Option<Locations>)>

Implementations

RttActiveTarget collects references to all the RttActiveChannels, for latter polling/pushing of data.

Polls the RTT target on all channels and returns available data.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.