Skip to main content

Crate strop_trace

Crate strop_trace 

Source
Expand description

One opt-in diagnostic sink for all strop crates. Producers never perform file I/O or wait for the writer; an incomplete trace is always reported as such.

Structs§

TraceOptions
TraceSession
Owning lifetime of a trace. Explicit finish reports errors; Drop still drains.

Enums§

ContentPolicy
EventKind
TraceError

Constants§

SCHEMA_VERSION

Functions§

capture_content
enabled
preview
UTF-8-safe bounded preview. The byte length and full text are separate fields.
record
record_with
Lazy producer: no payload construction or allocation when disabled.
start
take_failure
Report once to the editor’s status line; finish still returns the failure.