Module layer

Source
Expand description

Defines the FactoryLayer trait and utilities for creating composable factory wrappers in service architectures.

Structs§

LayerAsync
LayerFn
A struct that wraps a closure to implement FactoryLayer.

Traits§

FactoryLayer
A trait for creating layered factory wrappers, enabling complex service compositions.

Functions§

layer_fn
Creates a FactoryLayer from a closure, simplifying the creation of custom layers.