Expand description
Re-exports§
pub use bus_guard::guard_bus_envelope;pub use bus_guard::is_emittable_channel;pub use bus_guard::GuardedEnvelope;pub use clock::NativeClock;pub use engine_loop::run_engine_loop;pub use engine_loop::run_engine_loop_stamped;pub use engine_loop::run_engine_loop_with_transports;pub use engine_loop::run_engine_loop_with_transports_and_trace;pub use engine_loop::run_engine_loop_with_transports_and_trace_stamped;pub use engine_loop::EngineConfig;pub use engine_loop::TransportTable;pub use event_sink::bus_event_name;pub use event_sink::to_bus_envelope;pub use event_sink::EventReceiver;pub use event_sink::NativeEventSink;pub use event_sink::RecvOutcome;pub use event_sink::BUS_CHANNEL;pub use http::configure_wdio_fail_next_post_create;pub use http::NativeHttp;pub use storage::NativeStorage;pub use transport::NativeTransport;
Modules§
- bus_
guard - im:bus 信封守护(M2 Tauri 接缝① 横切约束)。
- clock
- NativeClock — SystemTime
- engine_
loop - engine_loop — native 薄壳(pump 核已下沉 helix-driver-host::engine)。
- event_
sink - NativeEventSink — tokio broadcast channel
- http
- Native HTTP thin shell over the shared host client.
- storage
- NativeStorage — PC/Tauri storage shell over the shared host storage.
- transport
- Native WebSocket thin shell over the shared host client.
Structs§
- Auth
Token Registry - driver 持有的真鉴权 token(平台壳登录后写入;core 永不触碰)。
- Host
Network Config - Platform-provided network initialization material.
- Lifecycle
Context - 一次 Tick 的不可变 correlation 上下文。
- Lifecycle
Observation - 生命周期状态出口的结构化记录;不携带请求正文或用户数据。
- Lifecycle
Trace Sink - 不参与业务正确性的有界 lifecycle 观测 sink。
- Lifecycle
Trace Stats - Lifecycle
Tracker - engine 私有、有限容量的父 Tick 关联表。
- Shared
File Uploader - Shared
Http Client - Shared reqwest-backed HTTP port implementation.
- Tick
Ingress Receiver - Tick
Ingress Sender - 生产 tick 入站发送端:时间戳、Tick 和可选 carrier 同在一个有界 mpsc 元素内。
- Timer
Registry
Enums§
- Lifecycle
Capability - 可选端口能力;能力缺失只能报告 not_applicable,不能伪造网络 span。
- Lifecycle
Stage - lifecycle 的五个固定阶段;局部 HTTP/WS/Storage 效果均直接挂在 T1 根上。
- Lifecycle
Status - lifecycle 观测状态;Skipped 与 NotApplicable 明确区分未执行和不适用。
Constants§
- LIFECYCLE_
LINK_ CAPACITY - 父 Tick 关联表容量上限;超限仅淘汰诊断链接,不影响业务回灌。
- LIFECYCLE_
TRACE_ QUEUE_ CAPACITY - lifecycle 诊断出口的固定有界容量。
Functions§
- rows_
from_ reply_ bytes - Decode
rows_to_reply_bytesoutput for driver compatibility paths. - rows_
to_ reply_ bytes - Encode storage rows as the canonical JSON array used by
PortReply. - tick_
ingress_ channel - tick_
ingress_ channel_ observed - 创建带 command admission 指标的生产 channel,容量与原背压点完全一致。
Type Aliases§
- Lifecycle
State LifecycleState是状态合同的兼容别名,便于调用方按 state 语义读取。- TickId
- 每个 Tick 及其局部效果树使用的单调标识。