pub trait Handler {
fn handle(&self) -> AsyncResult<Output>;
}
Expand description
A trait representing the handler associated with the specified endpoint.
Required Methods
sourcefn handle(&self) -> AsyncResult<Output>
fn handle(&self) -> AsyncResult<Output>
Creates an AsyncResult
which handles the incoming request.