Type Alias gotham::handler::HandlerResult
source · pub type HandlerResult = Result<(State, Response<Body>), (State, HandlerError)>;
Expand description
A type alias for the results returned by async fns that can be passed to to_async.
Aliased Type§
enum HandlerResult {
Ok((State, Response<Body>)),
Err((State, HandlerError)),
}