pub struct ProxyConnector { /* private fields */ }Expand description
A hyper Connector that always dials a fixed upstream proxy host:port,
regardless of the target URI. The real target URI is carried in the
Host header (HTTP/1.1 CONNECT-less plain-HTTP proxy protocol).
Implementations§
Trait Implementations§
Source§impl Clone for ProxyConnector
impl Clone for ProxyConnector
Source§fn clone(&self) -> ProxyConnector
fn clone(&self) -> ProxyConnector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProxyConnector
impl RefUnwindSafe for ProxyConnector
impl Send for ProxyConnector
impl Sync for ProxyConnector
impl Unpin for ProxyConnector
impl UnsafeUnpin for ProxyConnector
impl UnwindSafe for ProxyConnector
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