Expand description
Streaming event types, event sinks and watch / exchange options.
Structs§
- Exchange
Options - Options for
SerialManager::exchange(write + read-until-response). - Subscription
Id - Id of a
SerialManager::watch_corestream or aSerialManager::subscribe_coresubscription. - Watch
Options - Options for
SerialManager::watch. Unknown keys are ignored (as in 4.0.0). A native parser is passed separately, seeSerialManager::watch_framed. - Watch
Ports Options - Options for
SerialManager::watch_ports.
Enums§
- AtResult
Format - AT result line format (V.250 verbose vs numeric
ATV0). - Core
Event - Event of the core’s new API (see
CoreSink). - Exchange
Completion Mode - When an exchange read is considered complete.
- Port
List Event - Port list change events delivered to a
PortListSink. - Port
Status - A port’s state change in
CoreEvent::PortState. - RxPrepare
Mode - How RX is prepared before sending an exchange payload.
- Serial
Event - Event delivered to an
EventSink(in the Tauri plugin: to the webview channel, as JSON).
Constants§
- DEFAULT_
CORE_ QUEUE_ BYTES - Default per-subscription queue of the core’s Rust receivers (4 MiB of event data).
Type Aliases§
- Core
Sink - Receives the events of the core’s new API: one
SerialManager::watch_corestream or the port states ofSerialManager::subscribe_core. - Event
Sink - Receives the events of one
SerialManager::watch. - Port
List Sink - Receives
PortListEvents of oneSerialManager::watch_ports. Returningfalseends the subscription.