Module tower::layer[][src]

Expand description

A collection of Layer based tower services

Modules

util

Utilities for combining layers

Structs

LayerFn

A Layer implemented by a closure. See the docs for layer_fn for more details.

Traits

Layer

Decorates a Service, transforming either the request or the response.

Functions

layer_fn

Returns a new LayerFn that implements Layer by calling the given function.