logo
pub trait Transform<H> {
    type Output;

    fn transform(&self, h: H) -> Self::Output;
}
Expand description

Then Transform trait defines the interface of a handler factory that wraps inner handler to a Handler during construction.

Required Associated Types

A new handler.

Required Methods

Transforms self and wraps Handler to a new handler.

Implementors