Struct rocket::response::content::Html [−][src]
pub struct Html<R>(pub R);
Expand description
Override the Content-Type
of the response to
HTML
, or
text/html
.
Delegates the remainder of the response to the wrapped responder.
Tuple Fields
0: R
Trait Implementations
Sets the Content-Type of the response then delegates the remainder of the response to the wrapped responder.
Auto Trait Implementations
impl<R> RefUnwindSafe for Html<R> where
R: RefUnwindSafe,
impl<R> UnwindSafe for Html<R> where
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more