pub trait Transform<H> {
type Output;
// Required method
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.