Skip to main content

Crate sim_lib_expr_tree_server

Crate sim_lib_expr_tree_server 

Source
Expand description

Authoritative expression-tree sessions over SIM’s standard server surfaces.

ExpressionTreeServer is both a sim_lib_server::EvalSite and a sim_kernel::EvalFabric. It owns bounded live tree sessions, evaluates expression-tree operations with the caller’s context and capabilities, accepts checked sim_lib_view::SurfaceCodec operations, and exposes bounded revisioned snapshots and watches. Optional server wall-clock observations accompany mandatory logical ticks but never decide freshness, expiry, or optimistic concurrency.

Structs§

ChangeEvent
One revisioned server-side change observation.
ExpressionTreeServer
Authoritative bounded expression-tree session server.
ExpressionTreeServerError
Stable structured error returned by the expression-tree server.
ExpressionTreeServerLib
Loadable library exporting one authoritative expression-tree site.
ExpressionTreeServerLimits
Hard lifecycle and backpressure limits for one server.
ExpressionTreeWebSurface
One browser-owned expression-tree surface over a real server transport.
ExpressionTreeWebSurfaceFactory
Builds isolated browser surfaces for one authoritative expression-tree resource.
SessionId
Opaque identity of one authoritative expression-tree session.
WatchBatch
One bounded watch poll with explicit overflow evidence.
WatchId
Opaque identity of one bounded session watch.

Functions§

component_identities
Returns the runtime and surface identities composed by this server.
crate_identity
Returns the crate’s public server-library identity.
expr_tree_server_lib_symbol
Stable library symbol for the expression-tree server.
expr_tree_server_site_symbol
Stable placement symbol exported by the expression-tree server library.
install_expr_tree_server_lib
Installs the expression-tree server library exactly once.