Re-exports§
pub use net::Durability;pub use net::Qos;pub use net::Reliability;
Modules§
Structs§
- Archived
Header - An archived
Header - Archived
Message - An immutable, validated rkyv message that owns its backing byte buffer.
- Archived
Network Ship Address - An archived
NetworkShipAddress - Archived
Time Msg - An archived
TimeMsg - Connection
State - Live state of a node’s link to the coordinator.
- Header
- Header
Resolver - The resolver for an archived
Header - Network
Ship Address - Network
Ship Address Resolver - The resolver for an archived
NetworkShipAddress - Node
Options - Policy shared by every node.
- TimeMsg
- Time
MsgResolver - The resolver for an archived
TimeMsg - Timing
- Per-node timing policy.
- Variable
Enums§
- Action
- Action
Resolver - The resolver for an archived
Action - Archived
Action - An archived
Action - Archived
Ship Kind - An archived
ShipKind - Archived
Variable Type - An archived
VariableType - Reconnect
Policy - What a node should do when it loses the coordinator.
- Ship
Kind - Ship
Kind Resolver - The resolver for an archived
ShipKind - Variable
Type - Variable
Type Resolver - The resolver for an archived
VariableType
Constants§
- COORD_
CLIENT_ IDLE_ TIMEOUT_ MS - coordinator Last-resort timeout for coordinator-side per-client handler. This fires for truly isolated or zombie clients that sent no packet for this long.
- DISCONNECT_
TIMEOUT_ MS - [heartbeat] Coordinator drops a client after this long with no message. Must be > HEARTBEAT_INTERVAL_MS + HEARTBEAT_SUPPRESS_MS to avoid false disconnects.
- HEARTBEAT_
INTERVAL_ MS - [heartbeat] How often nodes send heartbeat messages to keep their connection alive.
- HEARTBEAT_
SUPPRESS_ MS - [heartbeat] Heartbeat is skipped if data was sent within this window. Must be ≤ HEARTBEAT_INTERVAL_MS so a heartbeat is always sent before DISCONNECT_TIMEOUT_MS elapses after the last real data.
- PEER_
DEAD_ THRESHOLD - [peer-heartbeat] Consecutive ping failures before declaring a peer dead.
- REGISTRATION_
TIMEOUT_ MS - [registration] How long to wait for a coordinator before giving up on registration.
- TRY_
RELIABLE_ SEND_ BUDGET_ MS - [try-reliable] Total budget for one
Qos::TryReliabledelivery. Generous enough to ride out a WiFi roam, bounded so a send can never wedge the caller’s loop the wayQos::Reliablecan.
Traits§
- Cannon
- Coordinator
- Sendable
- Types that can be serialized and sent.
- Ship
Functions§
- changed_
routes - Ships in
afterwhose actions differ frombefore, plusalways. - get_
strategies - init_
logging - Initialize logging in the house format, with the transport crates capped
however loud
RUST_LOGasks everything else to be. - plan_
routes_ for_ var