Skip to main content

Module access

Module access 

Source
Expand description

Read-only and mutable engine access controls.

LinkNetwork is mutable by construction. This module adds the AccessMode-driven counterpart: a frozen ReadOnlyNetwork view that exposes only &self operations (query, project, reconstruct, verify, serialize) and makes mutation a compile-time error, plus an EngineNetwork boundary that honours the configured access mode and rejects mutation at runtime with a clear diagnostic.

The frozen view reuses the same Arc<LinkNetwork> sharing as NetworkSnapshot, so read-only access composes with snapshot versioning instead of duplicating it.

Structs§

ReadOnlyNetwork
Compile-time read-only view over a shared links network.
ReadOnlyViolation
Error raised when a mutation is attempted through a read-only engine handle.

Enums§

EngineNetwork
Access-mode-aware engine handle returned by configured parsing.