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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more