Expand description
Provides support for processing structures.
Macros§
- enum_
set - Creates a EnumSet literal, which can be used in const contexts.
Structs§
- Character
Set - A set of characters allowed or denied for a (string) field.
- EnumSet
- An efficient set type for enums.
- Field
Attrs - Meta information about a field.
- Path
- Represents the
ProcessingState
as a path. - Processing
State - An event’s processing state.
- Processing
State Iter - Unknown
Value Type Error - Error for unknown value types.
Enums§
- Chunk
- A type for dealing with chunks of annotated text.
- Pii
- Whether an attribute should be PII-strippable/should be subject to datascrubbers
- Processing
Action - Used to indicate how to handle an annotated value in a callback.
- Value
Type - The (simplified) type of a value.
Traits§
- Process
Value - A recursively processable value.
- Processor
- A trait for processing processable values.
Functions§
- apply
- Modifies this value based on the action returned by
f
. - join_
chunks - Concatenates chunks into a string and emits remarks for redacted sections.
- process_
chunked_ value - Splits the string into chunks, maps each chunk and then joins chunks again, emitting remarks along the process.
- process_
value - Processes the value using the given processor.
- split_
chunks - Chunks the given text based on remarks.
Type Aliases§
- Processing
Result - The result of running a processor on a value implementing
ProcessValue
.
Derive Macros§
- Process
Value - Derive the
ProcessValue
trait.