Skip to main content

Module platform

Module platform 

Source
Expand description

Host platform trait and bundled implementations for diagnostics, limits, and clocks.

Structs§

CollectingDiagnosticSink
Diagnostic sink that accumulates messages, usable without std.
ConfigurablePlatform
Platform implementation composed from a diagnostic sink, host limits, and a clock.
Diagnostic
A single diagnostic message emitted by the engine.
HostClock
Host clock value in seconds and microseconds.
HostLimits
Host imposed upper bounds on engine resource consumption.
LinebreakRequest
Parameters for a host driven line break request passed to the platform.
NoopDiagnosticSink
Diagnostic sink that discards all messages.
NoopPlatform
Minimal deterministic platform for tests, embedded use, and early bootstrap.

Enums§

DiagnosticSeverity
Severity level of a diagnostic message.
LimitError
Signals that a host configured resource limit was exceeded.

Traits§

DiagnosticSink
Receiver for diagnostic messages emitted during engine execution.
Platform
Host runtime services that must remain separate from engine semantics.