Skip to main content

Module schema

Module schema 

Available on crate features quic and std only.
Expand description

Identifiers of the qlog schemas this crate writes and reads.

Shared by the encoder and the reader so one side cannot drift from the other.

Constants§

EVENT_SCHEMA_QUIC
Event schema of QUIC events draft 13, the event set this crate implements.
FILE_SCHEMA_CONTAINED
file_schema of a single JSON document holding every trace and event.
FILE_SCHEMA_PREFIX
Common prefix of every main-schema file_schema URN.
FILE_SCHEMA_SEQUENTIAL
file_schema of a JSON text sequence: a header record, then one record per event.
RECORD_SEPARATOR
Record separator introducing every record of a JSON text sequence (RFC 7464).
SERIALIZATION_FORMAT_JSON_SEQ
Media type of the JSON text-sequence serialization.