Struct warp::reply::WithHeader [−][src]
pub struct WithHeader<T> { /* fields omitted */ }
Expand description
Wraps an impl Reply
and adds a header when rendering.
Returned by warp::reply::with_header
.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for WithHeader<T> where
T: RefUnwindSafe,
impl<T> Send for WithHeader<T> where
T: Send,
impl<T> Sync for WithHeader<T> where
T: Sync,
impl<T> Unpin for WithHeader<T> where
T: Unpin,
impl<T> UnwindSafe for WithHeader<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more