pub struct SetHostHeaderLayer { /* private fields */ }Available on crate feature
client only.Expand description
Layer for setting the Host header on requests.
Implementations§
Trait Implementations§
Source§impl Clone for SetHostHeaderLayer
impl Clone for SetHostHeaderLayer
Source§fn clone(&self) -> SetHostHeaderLayer
fn clone(&self) -> SetHostHeaderLayer
Returns a copy 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 moreSource§impl Debug for SetHostHeaderLayer
impl Debug for SetHostHeaderLayer
Source§impl Default for SetHostHeaderLayer
impl Default for SetHostHeaderLayer
Source§fn default() -> SetHostHeaderLayer
fn default() -> SetHostHeaderLayer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetHostHeaderLayer
impl RefUnwindSafe for SetHostHeaderLayer
impl Send for SetHostHeaderLayer
impl Sync for SetHostHeaderLayer
impl Unpin for SetHostHeaderLayer
impl UnwindSafe for SetHostHeaderLayer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)