pub struct SetHeaderLayer { /* private fields */ }Expand description
A Tower Layer that wraps an inner service with a SetHeader.
Implementations§
Trait Implementations§
Source§impl Clone for SetHeaderLayer
impl Clone for SetHeaderLayer
Source§fn clone(&self) -> SetHeaderLayer
fn clone(&self) -> SetHeaderLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SetHeaderLayer
impl RefUnwindSafe for SetHeaderLayer
impl Send for SetHeaderLayer
impl Sync for SetHeaderLayer
impl Unpin for SetHeaderLayer
impl UnsafeUnpin for SetHeaderLayer
impl UnwindSafe for SetHeaderLayer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more