Expand description
TCP + bincode 传输层(多进程节点)。
Structs§
- Peer
Outbox - 向已知 peer 发送 Raft 信封(懒连接 + 失败重试一次)。
Enums§
Functions§
- read_
msg - run_
client_ request - CLI:向单个 peer 发送客户端请求并等待响应。
- spawn_
listener - 在后台接受连接,把解码后的消息送入
inbound_tx。 - write_
msg
TCP + bincode 传输层(多进程节点)。
inbound_tx。