Skip to main content

Crate selium_switchboard_protocol

Crate selium_switchboard_protocol 

Source
Expand description

Flatbuffers protocol helpers for the switchboard control plane.

Modules§

fbs
Generated Flatbuffers bindings for the switchboard protocol.

Structs§

Direction
Direction metadata for an endpoint.
EndpointDirections
Input/output directions for an endpoint.
WiringEgress
Outbound wiring update.
WiringIngress
Inbound wiring update.

Enums§

AdoptMode
Adoption mode for shared channels.
Backpressure
Backpressure behaviour for outbound channels.
Cardinality
Cardinality constraint for endpoints.
Message
Switchboard protocol message envelope.
ProtocolError
Errors produced while encoding or decoding switchboard messages.

Functions§

decode_message
Decode Flatbuffers bytes into a switchboard message.
encode_message
Encode a switchboard message to Flatbuffers bytes.

Type Aliases§

EndpointId
Switchboard endpoint identifier.
SchemaId
Schema identifier carried by endpoints (16-byte BLAKE3 hash).