pub type HttpServeResult = Result<(), Box<dyn Error + Sync + Send>>;
Result type of HttpServer::serve.
HttpServer::serve
pub enum HttpServeResult { Ok(()), Err(Box<dyn Error + Sync + Send>), }
Contains the success value
Contains the error value