pub type HandlerResult = Result<Response<Body>, BoxError>;
pub enum HandlerResult { Ok(Response<Body>), Err(Box<dyn Error + Send>), }
Contains the success value
Contains the error value