Expand description
Synapse Protocol Buffer Definitions
This crate contains the core protobuf definitions for the Synapse RPC protocol.
All messages use the SynapseMessage envelope with a discriminator for message type.
Modules§
- header_
entry - Nested message and enum types in
HeaderEntry. - serde_
helpers - Serde helpers for protobuf types
- synapse_
message - Nested message and enum types in
SynapseMessage.
Structs§
- Bytes
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Header
Entry - Health
Pull - Health
Response - Services respond to health checks over syn-rpc
- Http
Endpoint Deregister - Http
Endpoint Register - Http
Registration Ack - Http
Route - Instance
Capabilities - Instance
Info - Interface
Deregister - Interface
Info - ============================================================================ Service Discovery
- Interface
Register - Middleware
Request - Middleware
Response - Registration
Ack - Route
Options - RpcBatch
Request - RpcBatch
Response - RpcError
- RpcRequest
- RpcResponse
- State
Transfer Begin - State
Transfer Chunk - State
Transfer Complete - State
Transfer Failed - State
Transfer Init - Synapse
Message - Top-level message envelope for all Synapse protocol messages
Enums§
- Failure
Reason - Health
Status - Http
Method - Message
Kind - Message type discriminator
- Response
Type - RpcStatus