Expand description
RLMesh single-session runtime driver.
Shared reset -> predict -> step semantics for one ready model/environment
session. Scheduling, endpoint pools, route fan-out, and cluster lifecycle
live elsewhere.
Re-exports§
pub use hooks::ActionReceivedEvent;pub use hooks::EnvConnectedEvent;pub use hooks::EpisodeCompletedEvent;pub use hooks::EpisodeStartedEvent;pub use hooks::HookError;pub use hooks::LogEvent;pub use hooks::LogLevel;pub use hooks::ModelConnectedEvent;pub use hooks::NoopRuntimeHooks;pub use hooks::ObservationEmittedEvent;pub use hooks::RuntimeEnvContext;pub use hooks::RuntimeHooks;pub use hooks::SessionEndedEvent;pub use hooks::SessionFailedEvent;pub use hooks::SessionStartedEvent;pub use hooks::StepCompletedEvent;pub use hooks::TelemetrySnapshotEvent;pub use spec::RuntimeLimits;pub use spec::RuntimeReport;pub use spec::RuntimeSessionSpec;pub use rlmesh_proto;
Modules§
- hooks
- Runtime hook events and the observer trait the driver fans them out to.
- spec
- The runtime session spec, its limits, and the report a finished run returns.
- telemetry
- Telemetry — windowed/session aggregation of per-op metrics.
Structs§
- Runtime
Driver - Drives one ready model/env session through its
reset -> predict -> steploop. Inert until arun*method is awaited. - Runtime
EnvReset - The env’s reset reply plus the endpoint-local op duration the peer stamped.
- Runtime
EnvStep - The env’s step reply plus the endpoint-local op duration the peer stamped.
- Runtime
Model Prediction - The model’s predict reply plus the endpoint-local op duration the peer stamped.
Enums§
Traits§
- Runtime
Env - The environment side of a route: reset and step over the wire, plus close.
- Runtime
Model - The model side of a route: predict, plus the per-episode adapter-state lifecycle (evict on episode end, release at session end).