pub type HttpResult<T: IntoResponse, E: IntoResponse = HttpError> = Result<T, E>;Expand description
Result type for HTTP requests.
Aliased Type§
pub enum HttpResult<T: IntoResponse, E: IntoResponse = HttpError> {
Ok(T),
Err(E),
}pub type HttpResult<T: IntoResponse, E: IntoResponse = HttpError> = Result<T, E>;Result type for HTTP requests.
pub enum HttpResult<T: IntoResponse, E: IntoResponse = HttpError> {
Ok(T),
Err(E),
}