Skip to main content

Module wire_envelope

Module wire_envelope 

Source
Expand description

The canonical JSON envelope frame every verb wraps its payload in.

One definition the CLI serializes, the driver parses, and schema show documents, so the frame cannot drift across the three. The payload type T is the per-verb body.

Structsยง

EnvelopeWarning
A non-fatal warning carried alongside a payload.
WireEnvelope
The {schema_version, command, data, exit_code[, warnings]} frame.