Skip to main content

Crate varta_client

Crate varta_client 

Source
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 — Varta connects to the observer’s UDS and beat() 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§

DecodeError
Error returned by Frame::decode and Status::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.