Module fmt_utils

Source
Expand description

Formatting helpers

Structs§

AbbreviateDebug
A wrapper that causes the inner T to be debug-formatted using AbbreviatedDebug
AbbreviateHexBytes
Use for displaying bytes in the logs
AbbreviateJson
Use for displaying potentially large [serde_json::Value]s in the logs
OptStacktrace
Optional stacktrace formatting for errors.

Traits§

AbbreviatedDebug
Something that can be debug-formatted in an abbreviated way

Functions§

floor_char_boundary
rust_log_full_enabled