Skip to main content

Handler

Trait Handler 

Source
pub trait Handler: SendPipe<In = Request<Bytes>, Out = Response<Bytes>, Err = ProximaError> { }
Expand description

The served-HTTP face of SendPipe: Request<Bytes> -> Response<Bytes>, Err pinned to ProximaError. Blanket-implemented for every qualifying SendPipe — nothing to implement directly.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Implementor> Handler for Implementor
where Implementor: SendPipe<In = Request<Bytes>, Out = Response<Bytes>, Err = ProximaError>,