Expand description
The combination of HTTP binding traits and the sensitive trait require us to redact portions of the HTTP requests/responses during logging.
Modules§
- headers
- A wrapper around
HeaderMapto allow for sensitivity. - uri
- Wrappers around
Uriand it’s constituents to allow for sensitivity.
Structs§
- Make
Sensitive - A
MakeFmtproducingSensitive. - Request
Fmt - Allows the modification the requests URIs
Displayand headersDebugto accommodate sensitivity. - Response
Fmt - Allows the modification the responses status code
Displayand headersDebugto accommodate sensitivity. - Sensitive
- A wrapper used to modify the
DisplayandDebugimplementation of the inner structure based on the feature flagunredacted-logging. When theunredacted-loggingfeature is enabled, the implementations will defer to those onT, when disabled they will defer toREDACTED.
Constants§
- REDACTED
- The string placeholder for redacted data.
Traits§
- Sensitivity
- An interface for providing
MakeDebugandMakeDisplayforRequestandResponse.
Type Aliases§
- Default
Request Fmt - Default
RequestFmt. - Default
Response Fmt - Default
ResponseFmt.