Struct warp::reply::WithHeader
source · pub struct WithHeader<T> { /* private fields */ }Expand description
Wraps an impl Reply and adds a header when rendering.
Returned by warp::reply::with_header.
Trait Implementations§
source§impl<T: Debug> Debug for WithHeader<T>
impl<T: Debug> Debug for WithHeader<T>
source§impl<T: Reply> Reply for WithHeader<T>
impl<T: Reply> Reply for WithHeader<T>
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Converts the given value into a
Response.