logo

Trait awc::middleware::Transform[][src]

pub trait Transform<S, Req> {
    type Transform: Service<Req>;
    fn new_transform(self, service: S) -> Self::Transform;
}
Expand description

Trait for transform a type to another one. Both the input and output type should impl actix_service::Service trait.

Associated Types

Required methods

Creates and returns a new Transform component.

Implementations on Foreign Types

Dummy impl for kick start NestTransform type in ClientBuilder type

Implementors