Skip to main content

Module hooks

Module hooks 

Source
Expand description

Runtime hook events and the observer trait the driver fans them out to.

Structs§

ActionReceivedEvent
EnvConnectedEvent
EpisodeCompletedEvent
EpisodeStartedEvent
LogEvent
ModelConnectedEvent
NoopRuntimeHooks
A RuntimeHooks that ignores every event — the default when a session installs no observer.
ObservationEmittedEvent
PayloadFacts
One relayed payload, for a RelayPolicy to check against the target leg’s PeerCeiling. Capability gating is not checked here: it happens where a feature is emitted.
RefusingRelayPolicy
The OSS relay policy: forward what the target can decode, refuse the rest.
RelayAdvisoryEvent
A relay policy converted a payload for a peer that could not decode it as sent. Delivered once per distinct advisory, which the report also carries.
RuntimeEnvContext
SessionEndedEvent
SessionFailedEvent
SessionStartedEvent
StepCompletedEvent
TelemetrySnapshotEvent
A live telemetry snapshot tagged with the route/session it belongs to.

Enums§

HookError
Error returned by a RuntimeHooks callback.
Leg
Which way a relayed payload travels.
LogLevel
RelayDecision
A policy’s verdict on one relayed payload.

Traits§

RelayPolicy
Decides what reaches a served peer that may not decode a payload as sent.
RuntimeHooks
Callbacks the driver fans out around the reset -> predict -> step loop.