Skip to main content

Crate selium_switchboard_core

Crate selium_switchboard_core 

Source
Expand description

Switchboard solver and planning helpers.

Structs§

ChannelKey
Canonical key describing a channel’s schema and attachments.
ChannelSpec
A channel that should exist once the solution is applied.
DefaultSolver
Default Solver implementation used by SwitchboardCore.
FlowRoute
A flow for a single intent mapped to a channel in the solution.
Intent
Pair of endpoints the solver should consider when planning flows.
IntentRoute
The set of flows required for a given intent.
Solution
The solver output, describing the channels and per-intent routing.
SwitchboardCore
In-memory state tracker for endpoints and intents.

Enums§

SwitchboardError
Errors produced while planning switchboard wiring.

Traits§

Solver
Solver interface for producing wiring plans.

Functions§

best_compatible_match
Return the position of the best compatible channel, if any.