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