Skip to main content

Module events

Module events 

Source
Expand description

Streaming event types, event sinks and watch / exchange options.

Structs§

ExchangeOptions
Options for SerialManager::exchange (write + read-until-response).
WatchOptions
Options for SerialManager::watch. Unknown keys are ignored (as in 4.0.0). A native parser is passed separately, see SerialManager::watch_framed.
WatchPortsOptions
Options for SerialManager::watch_ports.

Enums§

AtResultFormat
AT result line format (V.250 verbose vs numeric ATV0).
ExchangeCompletionMode
When an exchange read is considered complete.
PortListEvent
Port list change events delivered to a PortListSink.
RxPrepareMode
How RX is prepared before sending an exchange payload.
SerialEvent
Event delivered to an EventSink (in the Tauri plugin: to the webview channel, as JSON).

Type Aliases§

EventSink
Receives the events of one SerialManager::watch.
PortListSink
Receives PortListEvents of one SerialManager::watch_ports. Returning false ends the subscription.