Skip to main content

Module format

Module format 

Source
Expand description

Pluggable formatters for human-readable key and value rendering.

The Formatter trait takes a raw key byte slice and an optional value byte slice and returns a printable string; the raw submodule provides the default hex rendering used by tools and tests. Implementors typically dispatch on the leading KeyKind byte to produce a structured rendering of catalog keys.

Modules§

raw

Traits§

Formatter