1 2 3 4 5 6 7
use std; use crate::error; /// A convenience `Result` type that has the `HttpError` type as the error /// type and a generic Ok result type. pub type Result<T> = std::result::Result<T, error::Error>;
1 2 3 4 5 6 7
use std; use crate::error; /// A convenience `Result` type that has the `HttpError` type as the error /// type and a generic Ok result type. pub type Result<T> = std::result::Result<T, error::Error>;