Expand description
Client-side session machinery.
Structs§
- Authenticated
- (
DPlusonly) 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
DCSreflectors.- 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.
- Session
Builder - Typestate builder for
Session<P, Configured>. - Session
Core - Protocol-erased session core.
Enums§
- AnySession
- Storage-friendly enum wrapping a
Session<P, S>in any state. - Client
State Kind - Runtime discriminator mirroring the typestate markers.
- Disconnect
Reason - Why the session disconnected.
- Event
- One event surfaced by the client session machine.
- Voice
EndReason - Why a voice stream ended.
Traits§
- Client
State - Sealed marker for client connection states.
- NoAuth
Required - Protocols that do NOT require authentication (
DExtra,Dcs). - Protocol
- Sealed marker trait for D-STAR reflector protocols.