pub struct ProxyConfig {
pub listener: ListenerConfig,
pub session: ProxySessionConfig,
}Expand description
Configuration for the transparent proxy.
Fields§
§listener: ListenerConfigListener configuration (bind address, certs).
session: ProxySessionConfigPer-session configuration (upstream address, TLS, transport).
Auto Trait Implementations§
impl Freeze for ProxyConfig
impl RefUnwindSafe for ProxyConfig
impl Send for ProxyConfig
impl Sync for ProxyConfig
impl Unpin for ProxyConfig
impl UnsafeUnpin for ProxyConfig
impl UnwindSafe for ProxyConfig
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