[−][src]Struct rouille::proxy::ProxyConfig
Configuration for the reverse proxy.
Fields
addr: A
The address to connect to. For example example.com:80
.
replace_host: Option<Cow<'static, str>>
If Some
, the Host
header will be replaced with this value.
Trait Implementations
impl<A: Clone> Clone for ProxyConfig<A>
[src][+]
impl<A: Debug> Debug for ProxyConfig<A>
[src][+]
Auto Trait Implementations
impl<A> RefUnwindSafe for ProxyConfig<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for ProxyConfig<A> where
A: Send,
A: Send,
impl<A> Sync for ProxyConfig<A> where
A: Sync,
A: Sync,
impl<A> Unpin for ProxyConfig<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for ProxyConfig<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,