Function aitch::box_handler[][src]

pub fn box_handler<B: Body>(
    handler: impl Handler<B>
) -> BoxedHandler

Creates a BoxedHandler from any Handler.

See the BoxedHandler for more details about how this can be used.