qubit_http/error/http_result.rs
1/*******************************************************************************
2 *
3 * Copyright (c) 2025 - 2026.
4 * Haixing Hu, Qubit Co. Ltd.
5 *
6 * All rights reserved.
7 *
8 ******************************************************************************/
9//! [`Result`] alias for HTTP operations.
10
11use super::http_error::HttpError;
12
13/// [`Result`] alias for HTTP operations: success value `T` or [`HttpError`].
14pub type HttpResult<T> = Result<T, HttpError>;