//! HTML responses: shortcut for returning rendered markup from handlers.
//!
//! [`HtmlServiceResult::ok`] wraps an HTML string in a 200 [`ServiceResult`](super::ServiceResult)
//! with [`ResponseType::Html`](super::ResponseType), so the router renders it as `text/html`.
//! ```ignore
//! async fn page(ctx: CorrelationContext) -> Result<ServiceResult<String>, ErrorResult> {
//! Ok(HtmlServiceResult::ok("<h1>Hello</h1>"))
//! }
//! ```
use ;
/// Shortcut constructors for HTML handler results.
;