Expand description
Varta agent API — Varta::connect opens a Unix Domain Socket to the
observer; Varta::beat emits a fire-and-forget 32-byte VLP frame with zero
post-init heap traffic.
The crate re-exports Frame, Status, and DecodeError from
varta-vlp so downstream consumers depend on a single facade.
Re-exports§
pub use client::classify_send_error;pub use client::BeatOutcome;pub use client::Varta;
Modules§
- client
- Agent surface —
Vartaconnects to the observer’s UDS andbeat()emits one fire-and-forget 32-byte VLP frame per call.
Structs§
- Frame
- On-wire health frame — exactly 32 bytes, 8-byte aligned, little-endian
integer fields. The struct is
repr(C)so its layout is ABI-stable across compilations and trivially verifiable by inspection.
Enums§
- Decode
Error - Error returned by
Frame::decodeandStatus::try_from_u8. - Status
- Health status reported by an agent in a single VLP frame.
Constants§
- NONCE_
TERMINAL - Sentinel nonce value reserved for terminal panic frames.