Skip to main content

Crate sectorsync_runtime

Crate sectorsync_runtime 

Source
Expand description

Multi-station orchestration helpers for SectorSync.

Re-exports§

pub use deployment::DeploymentConfig;
pub use deployment::DeploymentError;
pub use deployment::DeploymentNodeRoute;
pub use deployment::DeploymentNodeState;
pub use deployment::DeploymentRouteTable;
pub use deployment::DeploymentStationMove;
pub use deployment::DeploymentStationRoute;
pub use deployment::DeploymentStats;
pub use deployment::GatewayDeliveryError;
pub use deployment::GatewayDeliveryRoute;

Modules§

deployment
Low-level deployment routing and station placement primitives.

Structs§

BarrierController
Full runtime barrier executor for in-process station sets.
BarrierMetrics
Runtime barrier metrics.
BarrierProgress
Barrier progress summary.
BarrierSnapshotScratch
Caller-owned reusable station snapshot slots for frozen barrier exports.
BarrierTransportBridge
Low-level bridge for sending runtime barrier notifications to clients.
BarrierTransportReport
Result of one barrier notification broadcast.
BarrierTransportStats
Runtime barrier notification transport statistics.
BarrierUpgradeExecutor
Applies an external in-memory upgrade hook while a runtime barrier is frozen.
BarrierUpgradeReport
Report produced after applying an external upgrade hook to frozen snapshots.
CellMigrationExecutor
Executes cell-level ownership migration using station-local indexes.
CellMigrationReport
Result of migrating entities indexed by moved cells.
CellMigrationScratch
Caller-owned working storage for repeated cell migration passes.
CellOwnershipTable
Dynamic ownership table for fixed 3D cells.
CellOwnershipUpdate
Result of applying cell ownership changes.
ClientCommandSendReport
Result of sending one command frame.
ClientTransportBridge
Low-level bridge for client command send and client-bound frame receive.
ClientTransportConfig
Low-level client transport bridge configuration.
ClientTransportPump
Result of pumping client-bound frames.
ClientTransportStats
Low-level client transport bridge statistics.
ClientTransportVisitReport
Fixed-size result of visiting client-bound transport frames.
CommandDispatchPumpReport
Result of pumping command dispatch packets for one target.
CommandDispatchTransportBridge
Bridge between stamped command envelopes and bounded station packet transport.
CommandDispatchTransportStats
Statistics for command dispatch transport bridging.
EntityMigrationExecutor
Runtime helper for in-process station-to-station owner migration.
EntityMigrationReport
Result of an in-process entity owner migration.
EventRouter
In-process station event router.
EventRouterStats
Event router statistics.
GatewayClientTransportBridge
Low-level bridge from client packet transport into the gateway command pipeline.
GatewayClientTransportPump
Result of pumping gateway-side client command packets.
GatewayClientTransportStats
Gateway-side client command transport bridge statistics.
GatewayClientTransportSummary
Compact result of pumping gateway commands without retaining per-command reports.
GatewayCommandPipeline
Business-agnostic gateway command frame pipeline.
GatewayCommandPipelineConfig
Gateway command pipeline configuration.
GatewayCommandPipelineReport
Gateway command pipeline result.
GatewayCommandPipelineStats
Gateway command pipeline statistics.
ReplicationReceiveBridge
Bridge between client packet transport and decoded replication frames.
ReplicationReceiveConfig
Replication receive bridge configuration.
ReplicationReceivePump
Result of pumping replication packets.
ReplicationReceiveStats
Replication receive bridge statistics.
ReplicationReceiveVisitReport
Allocation-free summary from visiting replication packets immediately.
ReplicationTransportBridge
Bridge between replication planning/frame building and client packet transport.
ReplicationTransportConfig
Client replication transport bridge configuration.
ReplicationTransportReport
Result of one viewer replication send attempt.
ReplicationTransportStats
Client replication transport bridge statistics.
SplitAction
One scheduled split action.
SplitSchedule
Split schedule produced from a load snapshot.
SplitScheduleExecutionReport
Result of executing a split schedule.
SplitScheduleExecutionScratch
Caller-owned reusable output and working storage for split execution.
SplitScheduleExecutionView
Borrowed result of executing a split schedule into reusable storage.
SplitScheduleView
Borrowed split schedule produced from reusable scheduler output slots.
SplitScheduler
Conservative automatic split scheduler.
SplitSchedulerConfig
Automatic split scheduler configuration.
SplitSchedulerScratch
Caller-owned reusable output and working storage for split scheduling.
SplitSchedulerState
Mutable planning state for conservative split scheduling.
StationEventPumpReport
Result of pumping station event packets for one target.
StationEventTransportBridge
Bridge between typed station events and bounded station packet transport.
StationEventTransportStats
Statistics for station event transport bridging.
StationIndexSet
Station-local spatial indexes keyed by station id.
StationLoadSampler
Runtime helper that derives StationLoadSample from existing low-level state.
StationLoadSamplerConfig
Lightweight coefficients used to derive hotspot/scheduler load samples.
StationLoadSamplerScratch
Caller-owned reusable storage for periodic station load sampling.
StationScheduleCandidate
Candidate selected by the load-aware station scheduler.
StationScheduleConfig
Budget for a load-aware scheduler step.
StationSchedulePlan
Result of one load-aware station scheduling pass.
StationScheduleScratch
Caller-owned reusable storage for load-aware Station scheduling.
StationScheduleView
Borrowed deterministic result from reusable Station scheduling storage.
StationScheduler
Basic in-process station scheduler.
StationSet
Small ordered in-process Station collection for simulations and embedders.

Enums§

BarrierRuntimeError
Runtime barrier execution error.
BarrierTransportError
Error produced while encoding or sending barrier notifications.
BarrierUpgradeError
Error produced while applying an upgrade hook around a frozen barrier.
CellMigrationError
Cell-level migration error.
ClientInboundFrameKind
Client-bound frame categories accepted by ClientTransportBridge.
ClientInboundFrameRef
Client-bound frame visited without materializing replication delta storage.
ClientTransportBridgeError
Error produced by the low-level client transport bridge.
ClientTransportVisitError
Error produced while visiting client-bound transport frames.
CommandDispatchTransportError
Error produced while bridging command dispatch frames through station packet transport.
EntityMigrationError
Entity migration error.
EventRouterError
Event router error.
GatewayClientTransportError
Error produced while pumping gateway-side client command packets.
GatewayCommandPipelineError
Gateway command pipeline error.
ReplicationReceiveError
Error produced while receiving replication frames.
ReplicationReceiveVisitError
Error produced while visiting borrowed replication frames.
ReplicationTransportError
Error produced while planning, building, encoding, or sending replication.
SplitScheduleExecutionError
Split schedule execution error.
StationBarrierPhase
Per-station progress inside a full runtime barrier.
StationEventTransportError
Error produced while bridging station events through packet transport.

Constants§

GATEWAY_COMMAND_ACK_ACCEPTED
Accepted command ACK reason code.
GATEWAY_COMMAND_ACK_BARRIER_REJECTED
Command was rejected by the station barrier ingress policy.
GATEWAY_COMMAND_ACK_DEPLOYMENT_REJECTED
Command could not be resolved through deployment metadata.
GATEWAY_COMMAND_ACK_GATEWAY_REJECTED
Command was rejected by generic gateway/session state.
GATEWAY_COMMAND_ACK_MISSING_QUEUE
Command route pointed at a station queue that was not registered.
GATEWAY_COMMAND_ACK_QUEUE_FULL
Command could not be queued because a target station queue was full.
GATEWAY_COMMAND_ACK_RATE_LIMITED
Command was rejected by gateway rate limiting.
GATEWAY_COMMAND_ACK_REPLAY_OR_STALE
Command was rejected as stale or replayed.