Module client

Module client 

Source
Expand description

Client-side session machinery.

Structs§

Authenticated
(DPlus only) TCP auth completed, host list cached.
Closed
Terminal — must be rebuilt to use again.
Configured
Built but no I/O happened.
Connected
Connected and operational. The only state where send_* exists.
Connecting
LINK1 sent, awaiting LINK1-ACK or LINK2-ACK.
DExtra
DExtra (XRF/XLX reflectors).
DPlus
DPlus (REF reflectors). Requires TCP authentication.
Dcs
DCS reflectors.
Disconnecting
UNLINK sent, awaiting confirmation or timeout.
Failed
A failed state transition.
Missing
Marker indicating a required builder field has NOT been set.
Provided
Marker indicating a required builder field HAS been set.
Session
A typed reflector session.
SessionBuilder
Typestate builder for Session<P, Configured>.
SessionCore
Protocol-erased session core.

Enums§

AnySession
Storage-friendly enum wrapping a Session<P, S> in any state.
ClientStateKind
Runtime discriminator mirroring the typestate markers.
DisconnectReason
Why the session disconnected.
Event
One event surfaced by the client session machine.
VoiceEndReason
Why a voice stream ended.

Traits§

ClientState
Sealed marker for client connection states.
NoAuthRequired
Protocols that do NOT require authentication (DExtra, Dcs).
Protocol
Sealed marker trait for D-STAR reflector protocols.