Expand description
Frame types and serialization for gateway protocol.
This module contains the shared types used by both client and server.
Structs§
- Client
Frame - Generic client frame envelope.
- Secret
Entry Dto - DTO for secret entries in list results.
- Server
Frame - Generic server frame envelope.
- Task
Info Dto - DTO for task info in updates.
- Thread
Info Dto - DTO for thread info in updates (unified tasks + threads). NOTE: Do NOT use skip_serializing_if with bincode - it breaks deserialization since bincode is not self-describing (positional format).
Enums§
- Client
Frame Type - Incoming frame types from client to gateway.
- Client
Payload - Payload variants for client frames.
- Server
Frame Type - Outgoing frame types from gateway to client.
- Server
Payload - Payload variants for server frames.
- Status
Type - Status frame sub-types.
Functions§
- deserialize_
frame - Deserialize a frame from binary using bincode with serde.
- serialize_
frame - Serialize a frame to binary using bincode with serde.