pub struct ForwardProxyConfig {
pub auth_users: Vec<BasicAuthUser>,
}Expand description
Forward proxy handler configuration (HTTP CONNECT tunneling).
Fields§
§auth_users: Vec<BasicAuthUser>Optional list of (username, password_hash) pairs. When non-empty,
incoming CONNECT requests must supply a valid Proxy-Authorization: Basic header or receive a 407 response.
Trait Implementations§
Source§impl Clone for ForwardProxyConfig
impl Clone for ForwardProxyConfig
Source§fn clone(&self) -> ForwardProxyConfig
fn clone(&self) -> ForwardProxyConfig
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 moreSource§impl Debug for ForwardProxyConfig
impl Debug for ForwardProxyConfig
Auto Trait Implementations§
impl Freeze for ForwardProxyConfig
impl RefUnwindSafe for ForwardProxyConfig
impl Send for ForwardProxyConfig
impl Sync for ForwardProxyConfig
impl Unpin for ForwardProxyConfig
impl UnsafeUnpin for ForwardProxyConfig
impl UnwindSafe for ForwardProxyConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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