Skip to main content

Crate synapse_proto

Crate synapse_proto 

Source
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.
HeaderEntry
HealthPull
HealthResponse
Services respond to health checks over syn-rpc
HttpEndpointDeregister
HttpEndpointRegister
HttpRegistrationAck
HttpRoute
InstanceCapabilities
InstanceInfo
InterfaceDeregister
InterfaceInfo
============================================================================ Service Discovery
InterfaceRegister
MiddlewareRequest
MiddlewareResponse
RegistrationAck
RouteOptions
RpcBatchRequest
RpcBatchResponse
RpcError
RpcRequest
RpcResponse
StateTransferBegin
StateTransferChunk
StateTransferComplete
StateTransferFailed
StateTransferInit
SynapseMessage
Top-level message envelope for all Synapse protocol messages

Enums§

FailureReason
HealthStatus
HttpMethod
MessageKind
Message type discriminator
ResponseType
RpcStatus