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
HeaderMap
to allow for sensitivity. - uri
- Wrappers around
Uri
and it’s constituents to allow for sensitivity.
Structs§
- Make
Sensitive - A
MakeFmt
producingSensitive
. - Request
Fmt - Allows the modification the requests URIs
Display
and headersDebug
to accommodate sensitivity. - Response
Fmt - Allows the modification the responses status code
Display
and headersDebug
to accommodate sensitivity. - Sensitive
- A wrapper used to modify the
Display
andDebug
implementation of the inner structure based on the feature flagunredacted-logging
. When theunredacted-logging
feature 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
MakeDebug
andMakeDisplay
forRequest
andResponse
.
Type Aliases§
- Default
Request Fmt - Default
RequestFmt
. - Default
Response Fmt - Default
ResponseFmt
.