Skip to main content

Module backend

Module backend 

Source
Expand description

Backend trait for JSON token emission.

Structs§

CapturingBackend
Backend that records every operation as a Token without writing anywhere.

Enums§

Token
A token captured by CapturingBackend.

Traits§

JsonBackend
Low-level JSON token emitter. Implementations write JSON tokens to an underlying sink. State validation is performed by crate::JsonEmitter, not by the backend.