Struct warp::filters::reply::WithHeader
source · pub struct WithHeader { /* private fields */ }
Expand description
Wrap a Filter
to always set a header.
Trait Implementations
sourceimpl Clone for WithHeader
impl Clone for WithHeader
sourcefn clone(&self) -> WithHeader
fn clone(&self) -> WithHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for WithHeader
impl Send for WithHeader
impl Sync for WithHeader
impl Unpin for WithHeader
impl UnwindSafe for WithHeader
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