Skip to main content

Module processor

Module processor 

Source

Structs§

IdentityProcessor
An identity processor that passes the exchange through unchanged.
OpaqueProcessor
Opaque newtype around BoxProcessor for Debug redaction.
ProcessorFn
Adapts an Fn(Exchange) -> Future<Result<Exchange>> closure into a Tower Service. This allows user-provided async closures (via .process()) to participate in the Tower pipeline.
SyncBoxProcessor
Thread-safe wrapper for BoxProcessor.

Traits§

BoxProcessorExt
Extension trait for BoxProcessor providing ergonomic constructors.
Processor
A Processor is a Tower Service that transforms an Exchange.

Type Aliases§

BoxProcessor
A type-erased, cloneable processor. This is the main runtime representation of a processor pipeline — a composed chain of Tower Services erased to a single boxed type.